Skip to content

ProgramForFun/protobuf_unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Protobuf_Unity

Forked from Google Protobuf, optimized and compiled for Unity.

Compiling Steps

  1. Open with VS2022: csharp/src/Google.Protobuf.sln
  2. Ensure there is NO net50 in TargetFrameworks in csharp/src/Google.Protobuf/Google.Protobuf.csproj
  3. Run dotnet --list-sdks in cmd, get the dotnet sdk version
  4. Modify the version field in global.json with the dotnet sdk version
  5. Switch VS to Release mode and build
  6. The DLLs is generated in csharp/src/Google.Protobuf/bin/Release/net45
  7. Copy the DLLs to Plugins folder of Unity

Download the same version protoc to compile proto message

About

Optimized Protocol Buffers for Unity

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 36.7%
  • C# 20.3%
  • Java 12.7%
  • C 11.6%
  • Objective-C 7.6%
  • Python 3.7%
  • Other 7.4%