@@ -26,11 +26,25 @@ And wait for unity to download and compile the package.
2626
2727for update package for a newer version, update end of line from 3.15.2005 to any released version on Releases.
2828
29- # Preinstalled Protoc
29+ # Installing Protoc
3030
31- The installed version of protoc is Windows 64 bits.
31+ ### Windows
3232
33- # Configuration
33+ This package comes with preinstalled protoc for Windows 64 bits.
34+
35+ ### MacOS
36+
37+ Install protobuf using brew
38+
39+ > brew install protobuf
40+
41+ Install protoc-gen-go using brew
42+
43+ > brew install protoc-gen-go
44+
45+ Brew must simlink both binaries on /usr/local/bin folder, check if any error appears while compiling.
46+
47+ # Configuring
3448
3549There are two modes of configuration:
3650
@@ -48,20 +62,5 @@ This method is used for a project with more complex configurations or sub-projec
4862Please specify a program using absolute path or make sure the program is available in your PATH system variable
4963--go_out: protoc-gen-go: Plugin failed with status code 1.
5064
51- This happens when your PATH variable doesn't contains the path to protoc-gen-go program.
52- If you are in mac and want install protoc-gen-go, use the command
53- > brew install protoc-gen-go
54-
55- to find where the program is, use:
56-
57- > brew info protoc-gen-go
58-
59- then add it to path, use nano and at the path to bin folder:
60-
61- > sudo nano /etc/paths
62-
63- inside nano, add this line:
64-
65- > /usr/local/Cellar/protoc-gen-go/1.27.1/bin
66-
67- Restart Unity, and it solve your issue.
65+ This happens when your protoc and/or protoc-gen-go installation isn't configured properly. Verify PATH on windows,
66+ or /usr/local/bin to see if all binaries are there.
0 commit comments