Forked from Google Protobuf, optimized and compiled for Unity.
- Open with VS2022:
csharp/src/Google.Protobuf.sln - Ensure there is NO
net50inTargetFrameworksincsharp/src/Google.Protobuf/Google.Protobuf.csproj - Run
dotnet --list-sdksin cmd, get the dotnet sdk version - Modify the
versionfield inglobal.jsonwith the dotnet sdk version - Switch VS to
Releasemode and build - The DLLs is generated in
csharp/src/Google.Protobuf/bin/Release/net45 - Copy the DLLs to
Pluginsfolder of Unity
Download the same version protoc to compile proto message