firebase / firebase/quickstart-unity
Unity + Firebase emulator suite: FirestoreSettings: Changing it at runtime crashes Unity
- Dominant language
- C#
- Stars
- 923
- Forks
- 456
- PR merge metrics
- No merged PRs in 30d
Description
Hey :) We just set up the firebase emulator suite with success.
**Goal:** We want to make our Unity project use that local instance.
We tried
` FirebaseFirestore db = FirebaseFirestore.DefaultInstance;
db.Settings = db.Settings.WithHost("localhost:8080").WithSslEnabled(false).WithPersistenceEnabled(false);`
But it crashes unity. Is there a way to set this yet in the Unity Firebase SDK?
Also creating a new
FirebaseFirestoreSettings objects with the same values result in a crash when assigned to the current FirebaseFireStore.DefaultInstance.
Environment:
Editor
Unity Version:
2019.3.11f1
Firebase SDK:
6.15.0
Used Packages:
Analytics
Crashlytics
FireStore
RemoteLinks
Auth
Contributor guide
Assessment
This issue has not been assessed yet.