vb2250158

存在默认动画情况下,在start时设置动画,将会出现动画内容显示错误

bug重现步骤:
1、设置一个默认动画
2、将动画切换为其他动画
3、用脚本保存该动画名字
4、重新加载该场景
5、场景加载时将动画切换为保存的动画


解决方案:
在SkeletonAnimation的Initialize
state.SetAnimation(0, animationObject, loop);
的前面加上
state.SetAnimation(0, animationObject, loop);
Update();
vb2250158
  • Posts: 2

Harald

非常感谢您的错误报告和详细的写作。
Thank you very much for the bug report and the detailed writeup.

此错误已在3.8-beta分支上修复,请参阅此问题单:
https://github.com/EsotericSoftware/spine-runtimes/issues/1340
This bug has been fixed on the 3.8-beta branch, see this issue ticket:
https://github.com/EsotericSoftware/spine-runtimes/issues/1340

遗憾的是,错误修复程序不能反向移植到稳定的Spine-Unity 3.7运行时,因为它会改变现有的行为。
The bugfix can unfortunately not be back-ported to the stable Spine-Unity 3.7 runtime, since it changes existing behaviour.
User avatar
Harald

Harri
  • Posts: 3607


Return to 中国Spine用户