2D PNG animation sequence order issue
Hello!
I am working on a short 2D animation, and I am having an issue with the order the frames are played. I have gone back and made sure that the order of images are correct during the importing process, but when I watch the animation in the inspector window after importing, some frames are played out of order. I would like to have a simple loop that plays continuously from first to last frame, and I have checked the "Always Playing"-box and made sure ping-pong and reverse are off. I have triplechecked that the frames are in the correct order and tried playing around with some settings in the animation importer, but nothing helps.
Is there a bug with the 2D animation playback? What might I be missing here?
Cheers!
-
Hi Jonas! Happy to help you figure out what your frames are playing out of order.
Are you customizing any of the settings in the 2D animation texture import dialog? For example, crop or maximum size?
Also, how are the files in your image sequence named? In general, to ensure correct ordering we recommend naming each file with a uniform padding - for example, a sequence that's 200 frames would be named 001 - 200.
It would be great if you could share a screenshot of this window, perhaps denoting which specific frames are being played out of order?
Thanks,
Peter
Comment actions -
Hello Peter! Thank you for helping out!
The filenames were the issue. I was naming the frames 1, 2, 3, 4, 5 etc. (12 frames total). In the 2D animation texture import dialog they appeared 1, 10, 11, 12, 2, 3 etc. I manually arranged them in the correct order in the dialog, but it seems like the software was overriding this somehow? At least some frames were not displayed in the order I arranged them when the animation was playing.When I changed the names to 001, 002, 003 etc. the problem disappeared!
Many thanks,
JonasComment actions
Please sign in to leave a comment.
Have a comment?