Unity发布WebGL报错问题汇总

1、

控制台报错: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*

你可能感兴趣的:(Unity3d)