Hello Guest

Author Topic: White sprite rectangles appear after versioning pull  (Read 4235 times)

alex.seeck

  • Newbie
  • *
  • Posts: 18
    • View Profile
White sprite rectangles appear after versioning pull
« 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: White sprite rectangles appear after versioning pull
« Reply #1 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.

alex.seeck

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: White sprite rectangles appear after versioning pull
« Reply #2 on: September 11, 2015, 09:31:56 am »
Ok,
right now I don't have the time, but I'll come back to it.

alex.seeck

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: White sprite rectangles appear after versioning pull
« Reply #3 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: White sprite rectangles appear after versioning pull
« Reply #4 on: September 26, 2015, 02:07:49 pm »
What features are you using?
Eg. platform collections?