- Client
- Unity 2019.4.17f1
- Server
- .NET Core 3.1
- MagicOnion 4.0.4
- MessagePack for C# 2.2.85
- Grpc (grpc_unity_package.2.35.0-dev202012021242)
- Download and install the MagicOnion and MessagePack for C# to the Unity project.
- Download and extract the Grpc for unity and copy the
Google.Protobuf
,Grpc.Core
, andGrpc.Core.Api
to theAssets/Plugins
on the Unity. - Update an assembly definition references of the
MagicOnion.Client.asmdef
to addMessagePack.Annotations
.
- Run the MagicOnionSample.Server on the .NET runtime.
- Run the MagicOnionSample.Unity on the Unity.
The projects use HTTP unencrypted connection without TLS. You should read a MagicOnion HTTPS section if you used Https.