Hello Guest

Poll

Integrity checker results

Success
85 (88.5%)
Failed
11 (11.5%)

Total Members Voted: 95

Author Topic: 2D Toolkit Integrity Checker  (Read 31305 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
2D Toolkit Integrity Checker
« 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.

m4ko

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 75
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #1 on: May 15, 2013, 02:52:17 pm »
What did I win?   8)

GameDragon

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #2 on: May 15, 2013, 05:13:53 pm »
Integrity check success!

Glad to see 2.0 is almost here. ;D

TekuStudios

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 177
    • View Profile
    • Teku Studios
Re: 2D Toolkit Integrity Checker
« Reply #3 on: May 17, 2013, 01:05:17 pm »
Yay! Huge success!!  8)
We are an Indie videogame developer located in Teruel, Spain. A small 6-people team which is currently working on the upcoming 'Candle'.

Sundaerae

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #4 on: May 17, 2013, 05:29:35 pm »
I'm waiting eagerly :D

Aldwin

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #5 on: June 01, 2013, 04:21:58 pm »
Hi!

I wanted to upgrade to V2.0 and used the integrity checker as recommanded. I failed with this long error message :

Code: [Select]
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 ?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #6 on: June 03, 2013, 11:10:11 am »
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.

Maxime

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #7 on: July 08, 2013, 06:52:24 pm »
how do I download it?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #8 on: July 08, 2013, 06:57:16 pm »
You need to have registered your copy following the instructions here:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,34.0.html

grimmy

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #9 on: July 09, 2013, 02:10:08 pm »
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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #10 on: July 09, 2013, 02:13:01 pm »
You need to have registered your copy following the instructions here:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,34.0.html

freaksed

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #11 on: July 09, 2013, 11:09:49 pm »
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()

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #12 on: July 10, 2013, 11:25:26 am »
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.

mton

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #13 on: August 04, 2013, 06:21:18 am »
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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit Integrity Checker
« Reply #14 on: August 04, 2013, 04:10:26 pm »
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.