- Home /
Game works fine in the editor, but glitching on build
Hello;
We are currently working on a project that contains a lot of 2D animations. Actually, the issue we're having is that the game works fine, but whenever we make a build and launch the .exe, the sprites start glitching, which make the game unplayable.
We have something like 300 animations in total, with 140 animations for the main character, and 130 for another character of the game.
After doing some researches and experiments, we discovered that the more animation we cut from the game, the less the .exe will be glitchy. However, the game works great in the editor + in the .exe (if we cut the fact that it's glitchy), it runs in 60FPS and have no console error.
Something interesting is that the glitches always occurs on the same animations every time, but these animation have nothing special from the other ones.
If someone have ever encountered this problem or have an idea of what it is, we would be glad to hear about it.
Thanks a lot folks !
There is a hard limit of 4 gb on Assets size, maybe that's your problem. As far as I know there is no direct fix to that.
If that is your problem, then you can try and pack your assets into AssetBundles (they are already smaller this way) and maybe even store them in Strea$$anonymous$$gAssets folder.