原文連結
解決辦法是使用.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架構,使用這個就沒有問題了。