• Bugs
  • Something weird with color key frames

  • Изменено
Related Discussions
...

My animations that use color keys for fading became messed up lately:

http://a.wieza.iq.pl/media/wtf.jpg
http://a.wieza.iq.pl/media/wtf2.jpg (scrolled down)

Most of the pink timestamps shouldn't be there - there was only a simple fadeout with 2-3 key frames for color.

Even old versions of the project from my backups are affected (ones created with old Spine version, before this problem started occuring - so I suppose the project files are not corrupted).

And instead of fading out during the animation the images now flicker (in the places where pink keys are) and stay visible at the end instead of fading out. can send you the project file to look at if you want.

It happened some time ago (maybe even a month, it was some time since I have done anything with this game), but I thought it was a bug in my code causing the flickering. Only today looking for the problem have I noticed that the animations are messed up like that in the editor too, not only at runtime.


PS. I have e-mailed you the affected projects with images, maybe that will help. They are definitely not loaded correctly since it happens even in my old backup projects made very long ago.


Any update on that? If more info is required let me know (I could for example draw on the images to show which keys are incorrect). Loading those projects in older version of Spine will probably show the difference more easily.

5 дней спустя

It appears that the keys are in the project file, it isn't a problem that occurs when the project is loaded. Have you been using auto key? This could be a result of a bug with auto keying or the key edited hotkey (K), most likely in an older version of Spine. This is unfortunate because there isn't an easy way to fix it automatically. 🙁 I can't know for sure which keys you don't want.

I've sent you an updated version of your lostheroes4.spine project where I've removed all keys that are not 0 or 1 alpha. I also removed keys that are the same as the last key, since there were many unnecessary keys. Hopefully this helps you recover your project.

Keep an eye out and if you see the problem occur again hopefully we can determine what steps cause it to occur. However, auto key bugs have been fixed in the past so most likely it won't happen again.

Thanks. I have missed the moment when those keys appeared (because I thought it was a runtime bug) - they showed up in every place there was a color key though, not only in those I edited recently which is why I thought it was a project loading problem. I was using K hotkey though, so maybe that's the cause.