pomelo-unityclient-socket icon indicating copy to clipboard operation
pomelo-unityclient-socket copied to clipboard

unity5引入pomelo-dotnetClient.dll后报错

Open foodyi opened this issue 9 years ago • 3 comments

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in :0 at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in :0 at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in :0 at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in :0 at Mono.CSharp.Driver.LoadReferences () [0x00000] in :0 at Mono.CSharp.Driver.Compile () [0x00000] in :0 at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0

是不是编译成dll的.net版本太高了?? 使用环境osx10.10.4 unity 5.1.1f1

foodyi avatar Jul 03 '15 07:07 foodyi

你先以源码的方式引入吧,那个dll是我在windows下用vs编译的,mac下可能有问题。稍后我在mac上编译个dll放上去。

zk-luke avatar Jul 06 '15 01:07 zk-luke

Hello, I'm having the same issue but running it on windows 7 x64 unity v5.3.2f1

tqtran7 avatar Feb 09 '16 10:02 tqtran7

The Demo project seems to work https://github.com/NetEase/pomelo-unitychat-socket Just use the dll in there instead.

tqtran7 avatar Feb 11 '16 08:02 tqtran7