标签:bug with 安卓 type rip rod webgl 通过 build
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。但是在编辑器里面没有问题。

本人通过网上查询得到了如果下的解决方案:
打开 PlayerSeting 界面里面

取消 Strip Engine Code的勾选

再次打包就可以 了。
原博客地址:https://www.cnblogs.com/shenlaiyaoshi/p/7865450.html
unityCould not produce class with ID 0. This could
标签:bug with 安卓 type rip rod webgl 通过 build
原文地址:https://blog.51cto.com/14058389/2438431