unityCould not produce class with ID 0. This could

unityCould not produce class with ID 0. This could,第1张

概述unity 打包webgl或者ios,安卓是,加载ab文件突然莫名其妙的报错出了 Could not produce class with ID 0.This could be caused by a class being stripped from the build even though it is needed. Try disabling ‘Strip Engine Code‘ in unity 打包webgl或者ios,安卓是,加载ab文件突然莫名其妙的报错出了

Could not produce class with ID 0.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.
这样的BUG。但是在编辑器里面没有问题。![](https://s1.51cto.com/images/blog/201909/16/789b5fe2166c5f29d3acbebe5f9fa228.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)本人通过网上查询得到了如果下的解决方案:打开 PlayerSeting 界面里面![](https://s1.51cto.com/images/blog/201909/16/99bd475a586b90dfe8b7465235f029d2.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk=)取消 Strip Engine Code的勾选![](https://s1.51cto.com/images/blog/201909/16/56e93c4e588cee128a770bc06e5058a0.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk=)再次打包就可以 了。原博客地址:https://www.cnblogs.com/shenlaiyaoshi/p/7865450.HTML
总结

以上是内存溢出为你收集整理的unityCould not produce class with ID 0. This could全部内容,希望文章能够帮你解决unityCould not produce class with ID 0. This could所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1034522.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存