[Unity] Unity发布WebGL报错Could not produce class with ID 91.

查看:507 |回复:4 | 2022-2-8 11:14:30

您需要 登录 才可以下载或查看,没有账号?注册

x
控制台报错:Could not produce class with ID 91.
This could be caused by a class being stripped from the build even though it is needed. Try disabling 'Strip Engine Code' in Player Settings.
现象:角色人物没有播放动画
查询https://docs.unity3d.com/Manual/ClassIDReference.html发现91号类为AnimatorController
修正:Project Setting – Player – Other Setting, 去掉勾选 Strip Engine Code*
2022-2-8 11:14:30  
 赞 赞 0

使用道具 登录

4个回答,把该问题分享到群,邀请大神一起回答。
2#
能有效解决
回复 收起回复
2022-2-8 21:51:31   回复
 赞 赞 0

使用道具 登录

3#
Strip Engine Code去掉了 那你用不到的组件不也被打进你的WebGL包了么   是不是你的剥离等级设置的太高导致你需要的组件被剥离了
回复 收起回复
2022-3-17 08:59:28   回复
 赞 赞 0

使用道具 登录

4#
如此充满诚意的回答,我只能点赞了,专业回答,学习了
回复 收起回复
2022-4-6 09:25:34   回复
 赞 赞 0

使用道具 登录

5#
回复 收起回复
2022-4-11 09:17:33   回复
 赞 赞 0

使用道具 登录

CG 游戏行业专业问题

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表