Could not produce class with ID
Could not produce class with ID遇到的问题
遇到的问题
TrailRenderer 拖尾特效在mono下正常,在IL2CPP下消失,对应报错:Could not produce Class With ID xxx
原因:IL2CPP会默认勾选PlayerSetting中Strip Engine Code。TrailRenderer被错误的剔除了
解决方案:
打开链接: 在Unity官方手册中ClassIDReference. 首先找到对应的类ID。
在Asset目录下创建
原创
2020-12-11 15:13:23 ·
1285 阅读 ·
0 评论