1. We have a built-in Grpc Protobuf generator under Window/UnityGrpc/Protobuf.

    Untitled

  2. By clicking it, you will open the Protoc Generator Window Below:

    Untitled


How To Use:

  1. Download The Grpc Protobuf Generator Tools:

    1. Github Website https://github.com/protocolbuffers/protobuf

    2. Or Our Pre-download Version

      https://drive.google.com/file/d/16beDi2EayAqhAGMWMXJg1eKJwvrqMeMP/view?usp=sharing

  2. Enter The Absolute Path For Grpc Plugin.exe and Protoc.exe

  3. Put your .proto file inside the Unity Assets folder.

  4. Click ‘Compile .proto Files!’ Button.

  5. It will scan all the .proto files inside Unity folder, and start generate the Grpc Class.

  6. If Auto Compilation Protobuf is enabled, it will auto compile the .proto files.

FAQ