Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Grpc Unity Help

Discussion in 'Scripting' started by BlackRockShoota, Feb 25, 2020.

  1. BlackRockShoota

    BlackRockShoota

    Joined:
    Apr 12, 2018
    Posts:
    4
    I just downloaded the latest version of unity package grpc but I have encountered the following issue:

    Code (CSharp):
    1. Error: Could not load signature of Google.Protobuf.ByteString:get_Span due to: Could not load file or assembly 'System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. assembly:System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type:<unknown type> member:(null) signature:<none>
    2. Unloading broken assembly Assets/Plugins/Google.Protobuf/lib/net45/Google.Protobuf.dll, this assembly can cause crashes in the runtime
    Unity Version: 2019.3.0f1

    Any help appreciated.
     
    mattchiang likes this.
  2. flamingbob180

    flamingbob180

    Joined:
    Sep 24, 2015
    Posts:
    1
    Necroing for future google searches, as I was struggling a lot with it:

    https://github.com/donnerlab1/unitygrpc

    A small toolkit which has all libraries and runtimes required for grpc 2.34.0. It allows compiling of protos directly in unity. All it required is dotnet core 3+
     
    Mickey666Maus likes this.