Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unity5引入pomelo-dotnetClient.dll后报错 #23

Open
foodyi opened this issue Jul 3, 2015 · 3 comments
Open

unity5引入pomelo-dotnetClient.dll后报错 #23

foodyi opened this issue Jul 3, 2015 · 3 comments

Comments

@foodyi
Copy link

foodyi commented Jul 3, 2015

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

@zk-luke
Copy link
Member

zk-luke commented Jul 6, 2015

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

@tqtran7
Copy link

tqtran7 commented Feb 9, 2016

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

@tqtran7
Copy link

tqtran7 commented Feb 11, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants