So I use 2D flipbooks for animations in my game and in the editor everything works fine. But when I create a build and open the game there, instead of showing the animation there is a square made of tiny versions of the animation it is suppose to show. I have this problem only with a couple of animations, but its always the same ones.
Firstly, what version of the editor are you running. Be advised we had an update this week that contains many bug and crash fixes. It may be that an update is needed.
Secondly, when you say ‘open the game there’, what do you mean, your device? If that is the case, can you tell me what device you’re testing on? We had a known issue wherein games launched on certain low HDR devices would appear as tiny squares in one corner of the device, but that bug was fixed for the 4.7 update.
Lastly, can you attempt to build and attach the output logs from your build to this thread as a txt file? That would be a great help. Thanks very much!
I updated to 4.7.4 but the issue still remains. With “opening the game there” I meant opening the build on my PC (Windows 7). I noticed that the animations, that aren’t working, are the ones I implemented very early and with an older Version, so I will try to reimport the files. But I’m not sure if that has something to do with the problem, because other older ones are working. I hope the output log will help you. Thanks for your response and I hope to hear from you soon
Yep, this is definitely a Paper2D issue, I can see an ensure that happens many times through your output logs that looks like it’s caused by Paper2D, so you should definitely focus your attention on those assets.
Further, you might have an issue with old assets not being deleted correctly. The derived data cache may contain a bad version of the cooked asset. Try this:
delete the DerivedDataCache folder
in the Engine folder and then the Binaries,
DerivedDataCache, Intermediate, and
Saved folders in your project’s folder
before starting the editor, then
restart your machine entirely.
It will take a while to start the first time since it will need to recompile all the shaders.
Hi Qyou ,
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
I apologize for the late response. You were right, there was a problem with the flipbook blueprints. Reimporting the PNGs didn’t work, so I imported them manually, created the sprites and the flipbooks again. Now the build works fine. Thanks so much for your help, I really appreciate it.