Search Unity

[Released] Protobuf Manager

Discussion in 'Assets and Asset Store' started by guigui17f, Nov 5, 2022.

  1. guigui17f

    guigui17f

    Joined:
    Jul 10, 2014
    Posts:
    7
    1950_1300.jpg

    Asset Address
    : https://assetstore.unity.com/packages/slug/233250

    Protobuf Manager is a utility for using the Protocol Buffers in Unity projects. It contains visualization Editor windows to create proto files and generate runtime codes based on them, so there is no additional knowledge of Protobuf grammars is needed to use it.

    Supports for Unity types are added. You can reference the proto files under "unity_extensions" in your own proto files, and convert the Protobuf types to Unity built-in types by using the extension methods in runtime.

    01.jpg

    05.jpg
    • Visualization utilities for using the Protocol Buffers without additional knowledge base.
    • Visual elements are organized following the Protobuf grammars, you can learn the Protocol Buffers in use.
    • Additional supports for Unity built-in types, from proto files to extension methods.
    • Additional classes realized a cache system like the PlayerPrefs.
    • Example scene included to demonstrate using the generated codes in runtime.
    • Detailed debug information to locate issues quickly.
    09.JPG

    10.JPG

    Fell free to post any feedback or suggestions here!
     
  2. guigui17f

    guigui17f

    Joined:
    Jul 10, 2014
    Posts:
    7
    v1.1.0 Update:

    edit_window.jpg

    Now you can add any custom options you want in the new Custom Options field.
     
  3. smallUser

    smallUser

    Joined:
    Sep 18, 2013
    Posts:
    10
    Hello,

    I've found error:
    Assets/TestPost.cs(200,12): error CS1061: 'MapField<string, int>' does not contain a definition for 'MergeFrom' and no accessible extension method 'MergeFrom' accepting a first argument of type 'MapField<string, int>' could be found (are you missing a using directive or an assembly reference?)

    Looks like it doesn't support map field

    I've sent you email how to reproduce it.
     
  4. guigui17f

    guigui17f

    Joined:
    Jul 10, 2014
    Posts:
    7
    It's caused by using a new protoc compiler with the old protobuf runtime libraries, I'm updating the plugin now.

    I've send you an email with the latest runtime libraries, please update it with the instructions in the email.

    Sorry for the inconvenience.