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

Grpc.Core will be deprecated soon #30

Open
arthurkehrwald opened this issue Nov 7, 2024 · 4 comments
Open

Grpc.Core will be deprecated soon #30

arthurkehrwald opened this issue Nov 7, 2024 · 4 comments

Comments

@arthurkehrwald
Copy link
Contributor

https://grpc.io/blog/grpc-csharp-future/

We should move to gprc-dotnet

@arthurkehrwald
Copy link
Contributor Author

I tried to replace Grpc.Core with grpc-dotnet and couldn't get it to work. Unity lacks support for HTTP/2, which the old Grpc.Core provided through native code, but grpc-dotnet relies on .NET to do it and the version of .NET Unity runs is too old. So it seems we're stuck with Grpc.Core until Unity moves to at least .NET 6
Useful links:

@freezy
Copy link
Member

freezy commented Nov 8, 2024

At some point (planned for next major), Unity is going to move from Mono to the current .NET runtime. Maybe that will be enough?

Otherwise there seem to be a few workarounds in that other GitHub thread.

@martijnbreet-tomtom
Copy link

martijnbreet-tomtom commented Dec 2, 2024

You can use YetAnotherHttpHandler in combination with grpc-dotnet. One limitation is that Unix Domain Sockets are not supported.

@arthurkehrwald
Copy link
Contributor Author

Thanks for the tip!

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