unity 在播放动画时报错 The animation state XXX could not be played because it couldn't be found!

有模型的解决方案

选中动画模型文件然后animation type 选legacy
unity 在播放动画时报错 The animation state XXX could not be played because it couldn't be found!

无模型动画的解决方案

inspector有一个debug模式,你在debug模式下修改一下Animation Type为0 就可以了

Unity有两套Animation系统,一套是legacy,一套是Mecanim。

Debug模式下的Animation Type 0表示Mecanim,可以用于animator;1表示Legacy,用于animation组件
(unity5.6.5中是Legcy勾选)

unity 在播放动画时报错 The animation state XXX could not be played because it couldn't be found!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2021-05-16
  • 2021-10-07
猜你喜欢
  • 2021-12-29
  • 2022-12-23
  • 2021-09-11
  • 2021-05-12
  • 2022-12-23
  • 2021-04-25
  • 2021-08-13
相关资源
相似解决方案