-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
grpc unity iOS: crash at Grpc.Core.Internal.PlatformApis.GetUnityRuntimePlatform on start up #19262
Comments
This seems to be what's crashing:
I'm wondering why, the |
This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 180 days. It will be closed automatically if no further update occurs in 1 day. Thank you for your contributions! |
I am still getting the same error on Unity 2019.2.6f1 when building for android with il2cpp. Is there any chance that the problem is not there in MagicOnion library? I/Unity: >> e.Message >> Object reference not set to an instance of an object. |
The error is now gone. Looks like its fixed in the grpc daily build from yesterday. |
That's good to hear. |
This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 30 days. It will be closed automatically if no further update occurs in 7 day. Thank you for your contributions! |
It's seems to IL2CPP-ByteCodeStripping. add file: /Assets/link.xml
|
Looks like the workaround #19262 (comment) has been confirmed and this also doesn't seem to be an issue in the grpc code. Closing. |
What version of gRPC and what language are you using?
grpc_unity_package.1.22.0-dev.zip from daily build page.
What operating system (Linux, Windows,...) and version?
osx 10.14.4
What runtime / compiler are you using (e.g. python version or version of gcc)
Unity 2018.4.0f1
What did you do?
https://github.com/umegaya/mobile-game-http-latency-test/blob/master/client/Assets/Scripts/PingRunner.cs#L94
basically just try to invoke simple unary async call. note that android build from same codes run without any error.
What did you expect to see?
ios build can invoke unary call without error, as android version can.
What did you see instead?
error on creating channel object.
Anything else we should know about your project / environment?
.Net standard 2.0
and.Net 4.x
for Api Compatibility Level, but both crashed same placeThe text was updated successfully, but these errors were encountered: