"Unavailable invalid" FirebaseAuth for Unity on Quest 2
I'm having trouble starting Firebase on Meta Quest 2. The app builds without errors and the message that should appear in the
FirebaseAuth dependencyStatus is: "available". However, when starting it on Quest 2, the following message appears: "unavailable invalid"
"Available" status occurs normally on Windows, Unity editor and Android phone. Does anyone know why this error occurs on Quest 2?
I tried rewriting the code, reinstalling the SDKs, setting up another Firebase account, checked the package name, checked Google services, tried options related to internet connection.
This is the code:
async void Start()
{
Debug.Log("Checking dependencies");
await FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task =>
{
dependencyStatus = task.Result;
});
Debug.Log("Logging");
var auth = FirebaseAuth.DefaultInstance;
await auth.SignInAnonymouslyAsync();
Debug.Log("Logged!");
auth.SignOut();
Debug.Log("Unlogged!");
}