firebase / quickstart-unity

Firebase Quickstart Samples for Unity
https://firebase.google.com/games
Apache License 2.0
829 stars 429 forks source link

Crash in editor after FirebaseApp is garbage collected #200

Closed IsnaniWidhiHidayat closed 5 years ago

IsnaniWidhiHidayat commented 6 years ago

I Have been using firebase version 4.4.3 and it working without error, but when iam upgrade to version 5.2.1 i got some error just log false to console and nothing informasion i can get from that error. And because of this error when i next play in editor it make editor crash not responding.

false UnityEngine.Debug:LogError(Object) Firebase.Platform.FirebaseLogger:LogMessage(PlatformLogLevel, String) Firebase.FirebaseApp:LogMessage(LogLevel, String) Firebase.AppUtilPINVOKE:delete_FirebaseApp(HandleRef) Firebase.FirebaseApp:RemoveReference() Firebase.FirebaseApp:Dispose() Firebase.FirebaseApp:Finalize()

jonsimantov commented 6 years ago

Which Firebase plugins are you using? (e.g. Auth, Database, Messaging, etc.)

And what is your Unity editor version? Finally, are you using .Net 3.0 or .Net 4.6? (in the player settings)

IsnaniWidhiHidayat commented 6 years ago

iam using unity 2018.1.2f1 and firebase version 5.2.1 , .net 3.5 equivalent , service : auth, realtime database, and storage

stewartmiles commented 6 years ago

@IsnaniWidhiHidayat any chance you could share a project that reproduces this issue? We build https://github.com/google/mechahamster and similar projects with multiple plugins integrated and haven't come across this issue.

stewartmiles commented 5 years ago

@IsnaniWidhiHidayat any chance you have more information on this? Platform are you testing on? Windows, Mac? Is there a particular set of operations you need to perform to cause this to happen? It would be handy if we could reproduce this on our end so we can see what's going on.

stewartmiles commented 5 years ago

Closing as this is a duplicate of https://github.com/firebase/quickstart-unity/issues/191