Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DNA-Studios

Pages: [1]
1
Releases / Re: 2D Toolkit 2.5.3
« on: May 27, 2015, 09:15:14 am »
Hey folk,

Thanks a lot for this update, especially for the sprites disappearing :-) However, I get a strange behaviour when trying to patch the API:
  • I first download the package and extract it with python
  • I remove the old version of 2D Toolkit
  • I import the files into Unity (tried both inside and outside Unity)
  • Unity asks me to run the update manager because the library uses some obsolete methods
  • Regardless of what I chose above (automatic update of scripts or if I update them myself), all the tk2d scripts are then displayed as "missing behaviours" in the scenes. Not a single error appears in the console and when I run the game, none of my scripts are able to access a tk2d script.

Any clue about that ? We use Unity 5.0.2 and the TK2DROOT folder is set in a Libraries folder (/Assets/Libraires/TK2DROOT). Integrity checker gives me a full list of incorrect files.

Thanks again.

DNA Studios

If the integrity checker gives you a list of incorrect files, then your files are incorrect and updating is going to cause a lot of grief. This usually only happens when not storing meta files at some point in the past.

Also you've moved the folder from its default location, making it harder to overwrite... Removing and adding like you did with a corrupt installation will end up with missing behaviours, and everything is going to be broken. You'll have to import into a new project and manually copy the files and overwrite in this project if you wish to update.

Unity update manager prompts doesn't indicate an issue, it just runs because the unity package was exported from Unity 4. If you download from the asset store using Unity 5 you won't have that message.

Hi,

Thanks for your answer :)

The integrity checker complains after trying to update, not before. Anyway, I don't really understand why the location of the library is important since it doesn't contain hard links to itself. I was able to do every update like this (we currently are at 2.5.1).

The update manager will actually perform changes to thoses classes (even when importing from the assets store):
  • tk2dEditorUtility
  • tk2dTileMapEditor

They are using Resources.LoadAssetAtPath instead of AssetDatabase.LoadAssetAtPath.

I think Unity new scenes management may be responsible for this...

Cheers

2
Releases / Re: 2D Toolkit 2.5.3
« on: May 25, 2015, 10:00:23 am »
Hey folk,

Thanks a lot for this update, especially for the sprites disappearing :-) However, I get a strange behaviour when trying to patch the API:
  • I first download the package and extract it with python
  • I remove the old version of 2D Toolkit
  • I import the files into Unity (tried both inside and outside Unity)
  • Unity asks me to run the update manager because the library uses some obsolete methods
  • Regardless of what I chose above (automatic update of scripts or if I update them myself), all the tk2d scripts are then displayed as "missing behaviours" in the scenes. Not a single error appears in the console and when I run the game, none of my scripts are able to access a tk2d script.

Any clue about that ? We use Unity 5.0.2 and the TK2DROOT folder is set in a Libraries folder (/Assets/Libraires/TK2DROOT). Integrity checker gives me a full list of incorrect files.

Thanks again.

DNA Studios

Pages: [1]