"Please rebuild Sprite Atlas"

0 votes
asked Aug 16, 2016 in Issue by sprite atlas problem
I am always getting the following error:

Cannot load Atlas MaterialUI During Build/Enter Game. Please rebuild Sprite Atlas

UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

How do I rebuild the sprite atlas?

1 Answer

0 votes
answered Aug 17, 2016 by admin (31,720 points)
selected Aug 22, 2016 by admin
 
Best answer
Hello.
You can read the documentation on Sprite Packer here: https://docs.unity3d.com/Manual/SpritePacker.html

But if you want to fix this issue, what I currently do is delete the AtlasCache/ folder after each build...
It's located in your project folder, next to Assets/ and Library/

Yes I know, not the best ideal solution, but it does the trick...

~ Yohan
Welcome to MaterialUI support! Ask us anything :)
...