Author Topic: Unity alters atlas on build  (Read 2738 times)

ghoulfool

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Unity alters atlas on build
« on: March 03, 2014, 10:42:53 AM »
I've just done an iOS build and suddenly the majority of textures have been messed around with. To explain:, it's like the atlas has been modified and all the references to the textures/sprites have not been updated, so the whole project looks a mess. I suspect that this may have been caused by using too large textures (2048 x 2048?) ,causing Unity to shrink or modify the textures/atlases in the scene

Firstly, Is this an NGUI or Unity thing (or a combination of both)?
Secondly is there a way to prevent it happening again? - Use smaller textures!
Thirdly, I've got a back up of the project but is there a quick and simple "undo" if this were to happen again?

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Unity alters atlas on build
« Reply #1 on: March 03, 2014, 11:01:39 PM »
Check your quality settings. By default mobile platform builds target "Fastest" which reduces texture quality and disables shaders. Make sure your platform build is set to support 2k by 2k textures.