2D Toolkit Forum
2D Toolkit => Releases => Topic started by: unikronsoftware on May 15, 2013, 02:07:10 pm
-
Hi folks,
Since we are drawing really close to the 2D Toolkit 2.0 release, I'm releasing this 2D Toolkit runtime integrity checker. This will check your project to see if the GUIDs are correct on the tk2d runtime files. It is highly advisable to run this to make sure your installation is healthy before upgrading to 2.0.
1. Import unity package into your project, restart Unity if necessary.
2. You will see a "2D Toolkit Integrity Check" menu. Click the "Run" submenu there.
3. Wait until it does its thing.
4. When it finishes, you either get an "Integrity check success!" message, or "Integrity check failed..." message with one or more errors.
I would appreciate it if you could vote on the poll, and reply with the console dump if you have any errors.
ps. to uninstall, just delete the tk2dIntegrityChecker folder.
This version will check integrity up to version 2.0 - version 2.0 and above will have a built in integrity checker.
-
What did I win? 8)
-
Integrity check success!
Glad to see 2.0 is almost here. ;D
-
Yay! Huge success!! 8)
-
I'm waiting eagerly :D
-
Hi!
I wanted to upgrade to V2.0 and used the integrity checker as recommanded. I failed with this long error message :
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Camera\tk2dCamera.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Camera\tk2dCameraAnchor.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dFont.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dFontData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dTextMesh.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Gui\tk2dButton.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Runtime\tk2dResource.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Runtime\tk2dSystem.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dAnimatedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dBaseSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dClippedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dPixelPerfectHelper.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dRuntimeSpriteCollection.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSlicedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteAnimation.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollection.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollectionData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollectionInterfaces.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dStaticSpriteBatcher.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dTiledSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMap.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapBuilderUtil.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapChunks.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapColliderBuilder.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapMeshBuilder.cs
UnityEngine.Debug:LogError(Object)
tk2dExternal.ExternalUI:DoCheckDeploymentIntegrity()
So I upgraded to v1.92 final (I was in 1.91), hoping the corrupt files will be replaced but I had exactly the same message... Any idea how to fix this to upgrade to v2.0 ?
-
If GUIDs don't match, it means you've either:
1. Shared your project with dropbox, etc. without having meta files on
2. Deleted your libraries folder without meta files on
3. Source control without meta files
If you did any of the above, there will be issues upgrading. The metadata in your project is already irrepairably broken, but you can still update. It will mean more work on your part.
Drop me an email at support at unikronsoftware.com and we'll discuss further.
-
how do I download it?
-
You need to have registered your copy following the instructions here:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,34.0.html
-
I am trying to update the plugin but I just get ' It seems that you are not allowed to download or view attachments on this board.' when I hit the download button inside the updater panel.
-
You need to have registered your copy following the instructions here:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,34.0.html
-
I managed to update and it seems to be working, but the integrity checker still fails (mind you i reimported a few more times just to make sure the files were up to date) log follows
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Camera\tk2dCamera.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Camera\tk2dCameraAnchor.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dFont.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dFontData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dTextMesh.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Gui\tk2dButton.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Runtime\tk2dResource.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Runtime\tk2dSystem.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dAnimatedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dBaseSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dClippedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dPixelPerfectHelper.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dRuntimeSpriteCollection.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSlicedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteAnimation.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollection.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollectionData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollectionInterfaces.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dStaticSpriteBatcher.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dTiledSprite.cs
UnityEngine.Debug:LogError(Object)
tk2dExternal.ExternalUI:DoCheckDeploymentIntegrity()
-
Integrity checker failing means at some point in the past you've moved files outside the Unity interface, used dropbox / version control without meta files on, or something similar to break metadata. Updating usually works fine, but you won't be able to share assets you create with other people by exporting and importing unitypackages - the scripts will be broken on import. If its not causing any issues to you, then thats fine - it should be ok more or less if you don't move the files from the default locations.
-
Trying to update from 1.91 and got the following error:
Assets/Plugins/tk2d/Code/Camera/tk2dCameraUtil.cs(48,14): error CS0101: The namespace `global::' already contains a definition for `tk2dCameraResolutionOverride'
Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteCollectionSize.cs(9,14): error CS0101: The namespace `global::' already contains a definition for `tk2dSpriteCollectionSize'
File GUID does not match: Assets/Plugins/tk2d/Code/Camera/tk2dCamera.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Camera/tk2dCameraAnchor.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Fonts/tk2dFont.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Fonts/tk2dFontData.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Fonts/tk2dTextMesh.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Gui/tk2dButton.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Runtime/tk2dResource.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Runtime/tk2dSystem.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dAnimatedSprite.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dBaseSprite.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dClippedSprite.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dPixelPerfectHelper.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dRuntimeSpriteCollection.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dSlicedSprite.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dSprite.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteAnimation.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteCollection.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteCollectionData.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteCollectionInterfaces.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dStaticSpriteBatcher.cs
File GUID does not match: Assets/Plugins/tk2d/Code/Sprites/tk2dTiledSprite.cs
File GUID does not match: Assets/Plugins/tk2dTileMap/Code/tk2dTileMap.cs
File GUID does not match: Assets/Plugins/tk2dTileMap/Code/tk2dTileMapBuilderUtil.cs
File GUID does not match: Assets/Plugins/tk2dTileMap/Code/tk2dTileMapChunks.cs
File GUID does not match: Assets/Plugins/tk2dTileMap/Code/tk2dTileMapColliderBuilder.cs
File GUID does not match: Assets/Plugins/tk2dTileMap/Code/tk2dTileMapData.cs
File GUID does not match: Assets/Plugins/tk2dTileMap/Code/tk2dTileMapMeshBuilder.cs
UnityEngine.Debug:LogError(Object)
tk2dExternal.ExternalUI:DoCheckDeploymentIntegrity()
The 1st two are preventing me from running the project. Any thoughts?
-Mike
-
Yeah, it looks like you've broken unity metadata in your project, probably for the reasons listed here:
Integrity checker failing means at some point in the past you've moved files outside the Unity interface, used dropbox / version control without meta files on, or something similar to break metadata. Updating usually works fine, but you won't be able to share assets you create with other people by exporting and importing unitypackages - the scripts will be broken on import. If its not causing any issues to you, then thats fine - it should be ok more or less if you don't move the files from the default locations.
This can't be fixed, but you can still upgrade, if you manually move and overwrite the files in Assets/Plugins/tk2d with the ones from Assets/TK2DROOT/tk2d. Turn on meta files and make a backup before you proceed, you can easily break your project further if you make mistakes.
-
Interesting. I had thought that I had metafile on the entire time...
Anyhows, I manually move and overwrite the files in Assets/Plugins/tk2d with the ones from Assets/TK2DROOT/tk2d and are getting this error now:
Assets/Plugins/tk2dUI/Code/Core/tk2dUISpriteAnimator.cs(5,37): error CS0246: The type or namespace name `tk2dSpriteAnimator' could not be found. Are you missing a using directive or an assembly reference?
Any thoughts on what that might mean. Thanks for your help and consideration so far.
-Mike
-
It means that not all the files have been moved - tk2dSpriteAnimator.cs is missing, or perhaps in the wrong folder?
-
I have a project that failed the check :( but otherwise works. I understand I probably cannot upgrade tk2d because of this, but what other problems might this cause me down the road? Is it possible some sprite collection might become corrupt?
Here's my errors:
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Camera\tk2dCamera.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Camera\tk2dCameraAnchor.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dFont.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dFontData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Fonts\tk2dTextMesh.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Gui\tk2dButton.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Runtime\tk2dResource.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Runtime\tk2dSystem.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dAnimatedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dBaseSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dPixelPerfectHelper.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dRuntimeSpriteCollection.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSlicedSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSprite.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteAnimation.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollection.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollectionData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dSpriteCollectionInterfaces.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\Sprites\tk2dStaticSpriteBatcher.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMap.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapBuilderUtil.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapChunks.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapColliderBuilder.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapData.cs
File GUID does not match: Assets\TK2DROOT\tk2d\Code\TileMap\tk2dTileMapMeshBuilder.cs
-
You won't have any issues if you don't need to update.
Its still possible to update manually, but it tends to be a huge pain. If you don't care about upgrading, then the only thing to watch out for is sharing assets with others with unmodified tk2d packages.
-
Integrity Check Success! .. thank God! :D