- Home /
2D sprite blinking when I export it?, everything looks bad (solution)
My problem is when i export my Unity project to Windows and open the. exe looks very rare all, the game is 2D and the sprites are not distinguished as they start to blink and the tilemap are bad too.
Edit: Solution
a problem is i didn't know i was causing it or the unity console not told a reason, never gave me an alert or error.
what caused everything is that there is a limit of 4gb of texture per scene, something that doesn't say anywhere unity and does not throw any error in the console, after lasting a long time looking I came across this discussion about the limitation of 4gb. https://forum.unity.com/threads/bug-4gb-limit-to-textures-in-standalone-build.441116/
there are two solutions, use multi scene where you can know more in: https://www.youtube.com/watch?v=KRmqy22z0SM https://docs.unity3d.com/Manual/MultiSceneEditing.html
or compress the textures but if they don't go down from 4gb per scene will follow the error: https://docs.unity3d.com/Manual/class-TextureImporterOverride.html
I hope this information is useful.
Answer by Nishchhal · Apr 30, 2019 at 07:24 PM
Try adding and setting sorting layers to your items in the scene.
I have configured all the sprites and organized with sorting layers and the error continues.
yes, I have also applied the sorting layer in the sprite but the error continues