Unity: Why exclude Grpc.Auth?

27 views
Skip to first unread message

ryok...@gmail.com

unread,
Mar 22, 2019, 9:29:21 PM3/22/19
to grpc.io

I've noticed that Grpc.Auth was intentionally not included in Unity support.

The commit below does read that it was temporarily excluded (to make something else work, presumably):

Commit: 911d7779bcf4b986f31e4d465b6d977275459b70 [911d777]
Parents: 6574f5def4
Author: Jan Tattermusch <jtatte...@google.com>
Date: Wednesday, August 1, 2018 4:04:32 PM
Committer: Jan Tattermusch
Commit Date: Thursday, August 2, 2018 8:14:34 AM
remove Grpc.Auth from unitypackage for now

Could someone explain what "for now" stands for in this case?

Best,
Ryo

Jan Tattermusch

unread,
Mar 26, 2019, 12:46:25 AM3/26/19
to grpc.io
There's no special meaning, beyond "Unity support is currently experimental so this particular piece of work hasn't been done yet."

Please note that gRPC is an open source projects and contributions are welcome - feel free to create a PR. I think the biggest challenge here
is that Grpc.Auth has several of its own dependencies (that need to be added too).

ryok...@gmail.com

unread,
Mar 26, 2019, 1:18:19 AM3/26/19
to grpc.io
Hi Jan, thanks for your response. I understood.

I may work on it later. I'd expect that the piece has a dependency to Json converter which needs to be replaced with an AOT-compatible version for mobile platforms on Unity.

As a note for myself & who wants to tackle it: you can build the piece straight into DLLs and it'll work in Unity Editor if you remove some System.*.dll, but you may need to replace JSON .NET dependencies with the SaladLab fork to make it work on iOS/Android.
Reply all
Reply to author
Forward
0 new messages