So, utilizing Firebase Auth and Storage in my AR Application. Upon completing Login and Asset Bundle download, my script directs the User to the next Scene (via SceneManager.LoadScene()), where they can interact with their content.
However, upon scene shift, this Error causes a Pause in-editor on an inconsistent basis:
ApplicationException: Auth object 0x7586a0f0 should be deleted before the App 0x77b799a0 it depends upon. Firebase.FirebaseApp.ReleaseReferenceInternal (Firebase.FirebaseApp app) (at Z:/tmp/tmp.n6hJS53AxW/firebase/app/client/unity/proxy/FirebaseApp.cs:998) Firebase.FirebaseApp.RemoveReference () (at Z:/tmp/tmp.n6hJS53AxW/firebase/app/client/unity/proxy/FirebaseApp.cs:293) Firebase.FirebaseApp.Dispose () (at Z:/tmp/tmp.n6hJS53AxW/firebase/app/client/unity/proxy/FirebaseApp.cs:51) Firebase.FirebaseApp.Finalize () (at Z:/tmp/tmp.n6hJS53AxW/firebase/app/client/unity/proxy/FirebaseApp.cs:47) UnityEngine.UnhandledExceptionHandler:m__0(Object, UnhandledExceptionEventArgs)
How do I go about deleting my Auth object before the scene shift? I've tried auth.Dispose()
and auth.SignOut()
, no luck.