2D Toolkit Forum

2D Toolkit => Support => Topic started by: alex.seeck on September 10, 2015, 10:19:47 am

Title: White sprite rectangles appear after versioning pull
Post by: alex.seeck on September 10, 2015, 10:19:47 am
Every now and then we seem to have a bug with SpriteCollections and versioning (gitIgnore file is set up properly)

When it appears, pulling from git repository results in an altas showing only white rectangles for the TK2DSprites used. Rebuilding Index does not help, rebuilding the atlas does. But since that happens for every push and pull everyone is constantly pushing and pulling a newly committed atlas.

How is that happening and how can we avoid it.
Title: Re: White sprite rectangles appear after versioning pull
Post by: unikronsoftware on September 10, 2015, 10:58:56 pm
Once you pull the repository, have you tried restarting unity? Another thing you could try is closing unity, delete Library folder and let it regenerate. If it still doesn't work, delete the library folder and check if there are any changes. That will help narrow this down.
Title: Re: White sprite rectangles appear after versioning pull
Post by: alex.seeck on September 11, 2015, 09:31:56 am
Ok,
right now I don't have the time, but I'll come back to it.
Title: Re: White sprite rectangles appear after versioning pull
Post by: alex.seeck on September 21, 2015, 06:55:51 pm
Ok,
I managed to find the problem, but don't know how to solve it yet. The Materials loose their reference to their texture for some reason. could you tell me which files are responsible for keeping them intact?
Title: Re: White sprite rectangles appear after versioning pull
Post by: unikronsoftware on September 26, 2015, 02:07:49 pm
What features are you using?
Eg. platform collections?