Cysharp / GrpcWebSocketBridge

Yet Another gRPC over HTTP/1 using WebSocket implementation, primarily targets .NET platform.
MIT License
82 stars 12 forks source link

WebGL biuld doesn't work #2

Closed KAW0 closed 2 years ago

KAW0 commented 2 years ago

This method in Grpc.Net.Client.Internal.OperatingSystem private OperatingSystem() { this.IsBrowser = RuntimeInformation.IsOSPlatform(OSPlatform.Create("browser")); } is affected by this bug: https://issuetracker.unity3d.com/issues/notsupportedexception-thrown-when-calling-any-member-of-system-dot-runtime-dot-interopservices-dot-runtimeinformation-in-webgl and throw exception when calling GrpcChannel.ForAddress Since this project already use modified Grpc.Net.Client only for WebGL I recommend to change this line to: this.IsBrowser = true;

mayuki commented 2 years ago

Sorry for the late reply. We have confirmed this issue and would like to address it.

mayuki commented 2 years ago

Thanks! We have released a version 1.1.0. https://github.com/Cysharp/GrpcWebSocketBridge/releases/tag/1.1.0