-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
Description
After updating Firebase to 13.0.0 I started noticing that I was losing permission access to the real-time database across game sessions. The only solution was to sign out and sign in again, or wait an unspecified amount of time to get access to the database.
Downgrading to 12.10.0 solved the issue, without any other change.
Reproducing the issue
- Sign in with Google using Google Play Games v2
- Write something to the Real-Time Database specific for that Firebase User ID
- Exit the game
- Start the game: it takes an unspecified amount of time (usually long, in the order of minutes) to get the right permissions to write or read to the real-time database. In the meantime, you get a permission error even when the auth object was correctly persisted (auth != null and auth.CurrentUser is the same as the previous session)
Firebase Unity SDK Version
13.0.0
Unity editor version
6000.0.50f1
Installation Method
Unity Package Manager
Problematic Firebase Component(s)
Database
Other Firebase Component(s) in use
Authentication
Additional SDKs you are using
Google Play Games v2
Targeted Platform(s)
Android
Unity editor platform
Windows
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
If using CocoaPods for Apple platforms, the project's Podfile.lock
Expand Podfile.lock
snippet
👀 Replace this line with the contents of your Podfile.lock!