-
-
Notifications
You must be signed in to change notification settings - Fork 694
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
Using MessagePack with SignalR on IL2CPP #973
Comments
I haven't tried with SignalR, but we have a similar situation with an internal shared library. We have everything working, but it required building our own version of MessagePack.dll. We basically turn on the compile flags that would normally be set by Unity and build. There have been/are a couple proposals about how to make the support better, but working around Unity's restrictions has made it tough to find an approach that meets all criteria. |
Same problem here I can't use MessagePack with SignalR and Unity. |
MessagePack_nuget.zip Unity often gets mad if dll versions don't match, so those may not work for you. |
Thank you but I have a problem for deserialize object. |
same as #977, I'll write fixed code soon. |
One thing to watch out for is #931 since there is code behind a |
I just released 2.1.165. |
Bug description
I am using Unity to create a multiplayer game using SignalR and MessagePack. I have created a Generated Resolver which works perfectly using Mono.
I am using Microsoft.AspNetCore.SignalR.Protocols.MessagePack for my client/server which has a dependency on MessagePack.dll. The issue is that If I use the base MessagePack.dll I get the following error
I posted an issue on the asp.net github but after further investigation, I found that MessagePack has native support for Unity (IL2CPP) which inherently is not compatible with SignalR.
Is there any way for me to make these two solutions work together?
The text was updated successfully, but these errors were encountered: