Hello Guest

Author Topic: Issues with Unity 2018  (Read 82085 times)

Kostazz

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Issues with Unity 2018
« Reply #45 on: February 28, 2019, 07:38:39 am »
Unicronsoftware any comment for this problem plz? Our dev work stoped now

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Issues with Unity 2018
« Reply #46 on: March 01, 2019, 09:32:39 pm »
Unity 2018.3.6 has fixed the main issue we were having. I'm working through all the rest of the permutations to make sure its all working properly and I expect to release a new version over the weekend.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Issues with Unity 2018
« Reply #47 on: March 04, 2019, 10:13:12 pm »
First beta release for 2018.3. Some known issues, but finally on the way to a proper release. Shame it took unity so long to finally fix the issue :(
http://2dtoolkit.com/forum/index.php/topic,5600.0.html

Kirb

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Issues with Unity 2018
« Reply #48 on: March 05, 2019, 11:00:34 am »
Thanks; it's a big relief to know that the fix is working!

hyuns0623

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Issues with Unity 2018
« Reply #49 on: March 07, 2019, 04:40:22 am »
Thank you very much! ;D

cizcuz

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Issues with Unity 2018
« Reply #50 on: March 27, 2019, 10:35:58 am »
Can't create new tk2dFont since switching to Unity 2018.3. Commit button in tk2dFont just gives me error

mangoocean

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Issues with Unity 2018
« Reply #51 on: April 06, 2019, 05:10:12 am »
Same as above - can't create new sheet with the beta "fix".

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Issues with Unity 2018
« Reply #52 on: April 09, 2019, 06:36:44 pm »
Font commit is fixed in latest build

RCBricker

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 15
  • Would you realy hit litt'l ol Giddeon?
    • View Profile
Re: Issues with Unity 2018
« Reply #53 on: April 20, 2019, 01:07:50 pm »
The Beta Update fixed all the problems on my end. Thanks UNIKRON.
Hoghs Bossoms and an atom were talking, the bossom mocked the atom because he could not be everywhere and anywhere at once, the atom though about splitting.....BOOM.

Arnold

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 32
  • Create something you love!
    • View Profile
Re: Issues with Unity 2018
« Reply #54 on: April 24, 2019, 03:03:16 pm »
Reporting in on the latest 2019 build with Beta3, everything works so far on my end. Great work!

*Update

If i hit Save in a scene i get this error, but this hasn't stopped the game from running.

Code: [Select]
InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNext () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
tk2dIndex.GetSpriteCollectionIndex () (at Assets/TK2DROOT/tk2d/Editor/tk2dIndex.cs:76)
tk2dSpriteCollectionBuilder.RebuildOutOfDate (System.String[] changedPaths) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs:147)
tk2dSpriteCollectionTextureWatcher.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionTextureWatcher.cs:37)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
UnityEditor.AssetPostprocessingInternal.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:633)
UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:144)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
« Last Edit: April 25, 2019, 06:10:29 pm by Arnold »

mangoocean

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Issues with Unity 2018
« Reply #55 on: April 28, 2019, 11:16:46 pm »
Font commit is fixed in latest build

Have you seen my other post? Font is somehow clashing with Unity's IAP system. We've had to swap out t2toolkit text meshes for unity meshes whereever we're grabbing IAP prices from the store to display in-game.

habitoti

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 82
    • View Profile
    • Rombos Homepage
Re: Issues with Unity 2018
« Reply #56 on: May 15, 2019, 12:13:58 pm »
Reporting in on the latest 2019 build with Beta3, everything works so far on my end. Great work!

*Update

If i hit Save in a scene i get this error, but this hasn't stopped the game from running.

Code: [Select]
InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNext () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
tk2dIndex.GetSpriteCollectionIndex () (at Assets/TK2DROOT/tk2d/Editor/tk2dIndex.cs:76)
tk2dSpriteCollectionBuilder.RebuildOutOfDate (System.String[] changedPaths) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs:147)
tk2dSpriteCollectionTextureWatcher.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionTextureWatcher.cs:37)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
UnityEditor.AssetPostprocessingInternal.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:633)
UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:144)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()

I get the same issue when commiting a sprite collection now. Not sure whether this is also a cause of the fact that I cannot change platform support w/o messing up the consuming sprite objects. I wanted to strip lowres support now (as there is only a very minor fraction still needing it), however when I remove a platform from settings and re-commit, I am getting the above error and the sprites referring to that collection are no longer set to a valid value.
Checkout our homepage or visit the Rombos blog.

mangoocean

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Issues with Unity 2018
« Reply #57 on: May 24, 2019, 06:33:38 am »
Just had an issue where I added a new sprite to a current spritesheet. When I did, all other sprites on that sheet referenced to by sprites in the scene lost their reference to their respective sprite on the sheet. Had to go through THE WHOLE GAME connecting sprites back up.

birdkingz

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Issues with Unity 2018
« Reply #58 on: July 20, 2019, 08:57:15 am »
I found some issues with SpriteCollectionData.
I noticed when I view the prefab of SpriteCollectionData, it seems to always show the previous data instead.
Initially, I added SpriteA, then COMMIT. When I check SpriteCollectionData, it doesn't show anything about Sprite A.
After that I added SpriteB, then COMMIT. Now when I check SpriteCollectionData, it only shows SpriteA but not SpriteB.

I'm not really sure what's going on here, this bug just seems super weird.

Also it seems like ANCHOR is not working on newly added duplicated sprites (duplicated because both are using different materials). Although I have set it to LOWER CENTER but when in-game it still reverts back to CENTER anchor.

Please investigate.
Currently running on Unity 2018 and TK2D 2.5.8.16
« Last Edit: July 20, 2019, 09:04:07 am by birdkingz »

FZGames

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Issues with Unity 2018
« Reply #59 on: November 21, 2019, 04:43:11 pm »
I have found a workaround for when it doesn't always save collections properly (when it updates the atlas but not the prefab, so you lose your sprites after a while and it loses all the references).

I've noticed that when you press 'commit', it updates the atlas only, but then if you press it AGAIN, the prefab gets updated and you're usually safe. So every time you update a sprite collection, hit the 'commit' button TWICE.

The way I make sure it worked every time is I have a git client running. Before I make any changes I commit everything, then when I save my updated sprite collection, I look in the git client in the list of changes, see if it shows the .prefab file as well as the atlas file. If not, click commit again until it shows up.