天天看点

坑_Unity中导入自建DLL报错:Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in

原文链接

解决办法是使用.net framework 3.5重新编译DLL

坑_Unity中导入自建DLL报错:Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in
坑_Unity中导入自建DLL报错:Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in

补充:

这样会导致另一个问题,就是导入的dll在打ipa包时会报错,上图目标框架中有一个3.5 Unity SubSet 的一个专为Unity准备的.Net框架,使用这个就没有问题了。