unity3d 自定义DLL在打包APK
自定义DLL库,打包Android APK时报:
ArgumentException: The Assembly UnityEditor.CoreModule is referenced by xxxx (‘Assets/Plugins/xxx/xxx.dll’). But the dll is not allowed to be included or could not be found.
原因:
DLL用到了UnityEditor包,处理方式,把用到UnityEditor的部分代码不打到DLL中,顺利通过。
unity3d 自定义DLL在打包APK
最新推荐文章于 2024-11-22 15:40:37 发布
在尝试将包含UnityEditor引用的自定义DLL打包成Android APK时,会遇到ArgumentException,提示DLL不允许包含或找不到。解决办法是将使用到UnityEditor的部分代码移出DLL,确保DLL不直接依赖UnityEditor,从而成功打包。
1408

被折叠的 条评论
为什么被折叠?



