Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unloading broken assembly ‘Google.Protobuf.dll’, this assembly can cause crashes in the runtime. #296

Closed
GameStartStudio opened this issue Mar 29, 2020 · 2 comments

Comments

@GameStartStudio
Copy link

Hi, @mayuki @neuecc ,when I import the latest version of the gRPCs library (2.29.0-dev), the Unity client prompts "Unloading broken assembly Assets / Plugins / Google.Protobuf / lib / net45 / Google.Protobuf.dll, this assembly can cause crashes in the runtime", may I ask What causes it, do other friends know? Thanks
QQ截图20200330011752

By the way, I have another question. There are three assemblies (System.Buffers.dll, System.Memory.dll and System.Runtime.CompilerServices.Unsafe.dll ) in the plugin folder in the "ChatApp.Unity" sample that conflict with the gRpcs library. Which side should I keep?

@mayuki
Copy link
Member

mayuki commented Mar 30, 2020

This error is caused by the problem in gRPC Unity package. (grpc/grpc#22251 , grpc/grpc#21908)
If you are using gRPC with MagicOnion only, you can remove Google.Protobuf and avoid the problem.

@GameStartStudio
Copy link
Author

thanks @mayuki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@mayuki @GameStartStudio and others