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

When proper Firestore Unity support? #1363

Open
maxgmer opened this issue Jan 1, 2024 · 2 comments
Open

When proper Firestore Unity support? #1363

maxgmer opened this issue Jan 1, 2024 · 2 comments

Comments

@maxgmer
Copy link

maxgmer commented Jan 1, 2024

It's 2024, but it's still not possible to create multiplayer games with Unity.

Firestore still doesn't have Admin Unity SDK to use in Unity servers (most multiplayer games use Unity with "Dedicated Server" platform selected on their server side).

You already have a C# SDK (https://cloud.google.com/firestore/docs/create-database-server-client-library), what's left is to just port a couple of pieces, test it and it's done, why not do it?

P.S. If I'm wrong and it's possible to use https://cloud.google.com/firestore/docs/create-database-server-client-library in Unity, please guide me through how to fix this exception:
Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Bad gRPC response. Response protocol downgraded to HTTP/1.1.") (happens after query.GetSnapshotAsync()).
Or if there is another Firestore Admin SDK for Unity, please give me the link.

@MarkDuckworth
Copy link

@maxgmer, thanks for the feature request. I've forwarded your question about the C# Firestore SDK to a dev on that team. Let's see if they have any ideas about using the C# Firestore SDK for Unity multiplayer

@MarkDuckworth
Copy link

@maxgmer, can you confirm you're asking about using Firestore with Unity Game Server hosting?

Also, it's unclear what is leading to the RpcException you are seeing. Consider testing with the REST transport to see if you still experience this issue? If so, you may want to post this error on the repo for the specific Firestore SDK you are using.

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

2 participants