Unity打的Android包报错,给出的提示是
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.
建议禁用剔除引擎代码
如果不想禁用,还有一个方案,就是告诉Unity不要剔除指定的类
<linker> <assembly fullname="UnityEngine"> <type fullname="UnityEngine.LightProbes" preserve="all"/> </assembly> </linker>
填入上述内容
unity报错"Could not produce class with id"
原文:https://www.cnblogs.com/z-cmos/p/14339471.html