美文网首页看场电影
Unity3D打包iOS版本出现Could not produc

Unity3D打包iOS版本出现Could not produc

作者: QuinShuai | 来源:发表于2017-06-08 10:56 被阅读121次

ID对应类可以在这里看 http://docs.unity3d.com/Documentation/Manual/ClassIDReference.html

解决办法是在Buding -> Player Setting -> Other Settings -> Strip Engine Code 把勾去掉.

Strip Engine Code的作用是把没有用到的Unity引擎内置类从DLL中移除来减小DLL的大小, 但是如果用了AssetBundle的话有部分类使用了但是会被检测为没有使用, 例如粒子特效, 所以才会报Could not produce Class With ID xxx的错, 把这个选项关掉问题就可以解决了.

相关文章

网友评论

    本文标题:Unity3D打包iOS版本出现Could not produc

    本文链接:https://www.haomeiwen.com/subject/urvzfxtx.html