Hello Guest

Author Topic: Problem with GIT and forever reimporting atlases  (Read 3190 times)

theneken

  • Newbie
  • *
  • Posts: 1
    • View Profile
Problem with GIT and forever reimporting atlases
« on: August 07, 2014, 07:41:25 pm »
Hi :)

Our grame is on GIT repository. Whenever we pull some commit all atlases in our project (tk2d) need to reimport again. We got that info:

"Atlas texture incompatibility
Atlas texture 'atlas0 for sprite collection "New Outro Animation" must be reimported to display correctly in Unity4.3 when in 2D mode"

Everytime some one push commit another one when pulled must wait for 15min (many atlas)  :/.

On GIT file's to change are *.meta files. (please check attachment)

Everytime all instance unity in our company change alphatransparent from 1 to 0....

Thank you for Your support and sorry for my english.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Problem with GIT and forever reimporting atlases
« Reply #1 on: August 10, 2014, 12:37:20 pm »
Hi,

"Atlas texture incompatibility
Atlas texture 'atlas0 for sprite collection "New Outro Animation" must be reimported to display correctly in Unity4.3 when in 2D mode" should only happen once - this is because Unity sets alphaIsTransparency to 1 when in 2D mode. This is not compatible with premultiplied shaders. If you change and and submit those changes, then the next time you get it it should be fine...

Of you can change your unity default editor settings, set default behaviour mode to 3D and not 2D so this doesn't happen in the first place.