Comments (6)
MSBuild.Task is no longer supported in MagicOnion 5.x.
MessagePack Formatter error may be due to the Resolver not registered.
https://github.com/Cysharp/MagicOnion/blob/release/5.x/README.md#messagepack-for-c-1
from magiconion.
MSBuild.Task is no longer supported in MagicOnion 5.x. MessagePack Formatter error may be due to the Resolver not registered.
https://github.com/Cysharp/MagicOnion/blob/release/5.x/README.md#messagepack-for-c-1
Thank you @mayuki
the problem was solved after I manually added it. However, when I declare a function, if there are multiple parameters, MagicOnion will generate the corresponding DynamicArgumentTuple, but I haven't found a way to automatically generate the corresponding Formatter. Can it be generated automatically?
from magiconion.
If code is generated by generator, it will automatically generate the corresponding Formatter for the argument.
https://github.com/Cysharp/MagicOnion/blob/release/5.x/samples/ChatApp/ChatApp.Unity/Assets/Scripts/Generated/MagicOnion.Generated.cs#L148
from magiconion.
If code is generated by generator, it will automatically generate the corresponding Formatter for the argument. https://github.com/Cysharp/MagicOnion/blob/release/5.x/samples/ChatApp/ChatApp.Unity/Assets/Scripts/Generated/MagicOnion.Generated.cs#L148
Thank you @mayuki
I looked at the content of "ChatApp.Shared.csproj" and solved the problem, but a new problem has emerged - -.
When my Server serializes UnityEngine.Vector3, a similar FormatterNotRegisteredException error occurs. I tried to register it in the Resolver using the MagicOnionResolver in Unity, but it seems to have no effect.
Is there any way to register Unity's data structures on the server side, or do I need to define new structures myself?
from magiconion.
On the server side, need to install/use the MessagePack.UnityShims package.
https://github.com/MessagePack-CSharp/MessagePack-CSharp?tab=readme-ov-file#unity-support
from magiconion.
On the server side, need to install/use the MessagePack.UnityShims package. https://github.com/MessagePack-CSharp/MessagePack-CSharp?tab=readme-ov-file#unity-support
Thank you!
It works!
from magiconion.
Related Issues (20)
- Serialize DynamicArgumentTuple<int, int, int> exception in MagicOnion + MemoryPack HOT 2
- Upgrade Grpc.Net.Client in MagicOnion.Client
- Incorrect deserialize on using Unity client and MemoryPack HOT 4
- StreamingHubClientBase exception handling error HOT 1
- Unhandleable exceptions when connecting HOT 1
- Question: any thoughts on reliable UDP or QUIC? And QoS? HOT 2
- Question: How can I connect the TLS protocol to the new version (v5.1.8)? HOT 2
- Question: Possible to use Task and ValueTask instead of UnaryResult and such? HOT 1
- Question: ObjectDisposedException on proxy side
- Question: Is a MagicOnion server possible from within Unity?
- can support Webgl http2 and net8? HOT 1
- I can't have multiple implementations!
- .NET 8 Support
- Client filter is not triggered for ServerStreamingResult method in services. HOT 1
- Performance is very slow, taking 355ms for the Add function to return the result HOT 2
- How can I disconnect a client by server?
- InternalsVisibleTo lead to warnings on dependent project HOT 1
- Implement Protobuf Endpoint
- ServerReflection does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magiconion.