WARNING: Sequence (yes) has an invalid count (71) that makes the last frame index of the sequence (109) fall outside the range of valid image sheet fr

I get this warning, but the animation is playing fine. I have two different animations packed on the sprite sheet - was using texture packer… This sequence " yes"  - is the second sequence of animation that seems to be causing the problem. 

It is working fine - both animations are loaded and displayed correctly also on the device, but I wonder if this is a bug or I have to change something in my setup.

Thanks

Usually when I see this message it means that my stated frame count is bigger than what the file holds. So while your animations will play correctly the sheet has a bad reference to a frame that just isn’t there.

To troubleshoot I recommend looking at the sheet lua data and figure out what would be the last frame in the file. Then you can doublecheck if the frame exists or what might be wrong.

It’s a bit surprising to get this result using TexturePacker - are you using the standard imageSheet approach? Or the old spriteSheet approach?

Usually when I see this message it means that my stated frame count is bigger than what the file holds. So while your animations will play correctly the sheet has a bad reference to a frame that just isn’t there.

To troubleshoot I recommend looking at the sheet lua data and figure out what would be the last frame in the file. Then you can doublecheck if the frame exists or what might be wrong.

It’s a bit surprising to get this result using TexturePacker - are you using the standard imageSheet approach? Or the old spriteSheet approach?