出现这个问题很大可能是因为设置了 Managed Stripping Level => Low
只需要改成 Managed Stripping Level => Medium就可以正常播
或者改Assets/link.xml没有就新建
<linker>
<assembly fullname="Unity.Timeline" preserve="all" />
</linker>
如果还是不能播放,可以考虑下是不是资源打包出问题了。文章来源:https://www.toymoban.com/news/detail-839116.html
上面的代码裁剪掉的明显特征是,真机运行log会出现:
The referenced script (Unknown) on this Behaviour is missing!
The referenced script on this Behaviour (Game Object ‘’) is missing!文章来源地址https://www.toymoban.com/news/detail-839116.html
到了这里,关于Unity Timeline在编辑器下正常,真机(模拟器、手机)不正常播放问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!