r/UnityHelp • u/ProofAlternative7181 • 5d ago
TEXTURES Irregular Font atlas corruption upon changeset
Hello. I am working on a unity 2D project with the version 6000.5.7f1, and working on the project with the built in version control.
Every time I make a changeset, my font that I use for every piece of text in the game (A lot, too much to change) the font corrupts. Sometimes it fixes itself, but it is still a huge drag.
Pic related, text after corruption.
The problem can NOT be re-created with any piece of code and seems to be largely random and fixes itself every now and then.
The error goes "The image data of 'yoster Atlas has an unexpected size (expected 1, got 1048576) exceeding data will be ignored.'"
I tried asking about this on stack overflow but to no ones surprise I was basically told to just fix it and got downvoted
How would one go about fixing this? Any suggestions will help.
Thanks!
1
u/kurobaralabs 3d ago
I have experienced similar issues trying to include characters from other languages. Solution then was to increase the atlas size so I would try that.