Skip to content

6.15.0 - Unity constantly crashes when entering play mode for the second time #698

Description

@eladleb

Unity editor version: 2019.3.15
Firebase Unity SDK version: 6.15.0
Source you installed the SDK: Unity Package Manager.
Firebase plugins in use: everything except firestore
Additional SDKs you are using: Facebook & AdMob
Platform you are using the Unity editor on Mac
Platform you are targeting: iOS, Android
Scripting Runtime: IL2CPP

Please describe the issue here:

After updating to 6.15.0 I started seeing this warning when I enter play mode for the 1st time:
Future with handle 1 still exists though its backing API is being deleted

After this warning is shown, the next time I enter play mode, unity crashes :(

Please answer the following, if applicable:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? - I didn't try.

What's the issue repro rate? 100% of the time.


Future with handle 1 still exists though its backing API 0xC624DCD0 is being deleted. Please call Future::Release() before deleting the backing API.
UnityEngine.Debug:LogWarning(Object)
Firebase.Platform.FirebaseLogger:LogMessage(PlatformLogLevel, String) (at Z:/tmp/tmp.la3ltWQdKA/firebase/app/client/unity/src/Unity/FirebaseLogger.cs:92)
Firebase.LogUtil:LogMessage(LogLevel, String) (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/LogUtil.cs:68)
Firebase.LogUtil:LogMessageFromCallback(LogLevel, String) (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/LogUtil.cs:76)
Firebase.AppUtilPINVOKE:PollCallbacks()
Firebase.AppUtil:PollCallbacks() (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/AppUtil.cs:32)
Firebase.Platform.FirebaseAppUtils:PollCallbacks() (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/FirebaseAppUtils.cs:33)
Firebase.Platform.FirebaseHandler:Update() (at Z:/tmp/tmp.la3ltWQdKA/firebase/app/client/unity/src/Unity/FirebaseHandler.cs:205)
Firebase.Platform.FirebaseMonoBehaviour:Update() (at Z:/tmp/tmp.la3ltWQdKA/firebase/app/client/unity/src/Unity/FirebaseMonoBehaviour.cs:45)


Another similar log:

Future with handle 1 still exists though its backing API 0x43313BF0 is being deleted. Please call Future::Release() before deleting the backing API.
UnityEngine.Debug:LogWarning(Object)
Firebase.Platform.FirebaseLogger:LogMessage(PlatformLogLevel, String) (at Z:/tmp/tmp.la3ltWQdKA/firebase/app/client/unity/src/Unity/FirebaseLogger.cs:92)
Firebase.LogUtil:LogMessage(LogLevel, String) (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/LogUtil.cs:68)
Firebase.LogUtil:LogMessageFromCallback(LogLevel, String) (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/LogUtil.cs:76)
Firebase.AppUtilPINVOKE:PollCallbacks()
Firebase.AppUtil:PollCallbacks() (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/AppUtil.cs:32)
Firebase.Platform.FirebaseAppUtils:PollCallbacks() (at Z:/tmp/tmp.txs8ldQ514/firebase/app/client/unity/proxy/FirebaseAppUtils.cs:33)
Firebase.Platform.FirebaseHandler:Update() (at Z:/tmp/tmp.la3ltWQdKA/firebase/app/client/unity/src/Unity/FirebaseHandler.cs:205)
Firebase.Platform.FirebaseEditorDispatcher:Update() (at Z:/tmp/tmp.la3ltWQdKA/firebase/app/client/unity/src/Unity/FirebaseEditorDispatcher.cs:102)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:310)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions