firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

[Bug] Unity App Crash on launch with Firebase 12.10.0

Open mmiro1 opened this issue 5 months ago • 32 comments

Description

After upgrading the Firebase SDK from 12.1.0 to 12.10.0, on some Windows PCs the app crashes on launch.

I have tried to use the FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread instead of FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith, and also, I have tried to wait some frames before calling that method.

For now I have downgraded to 12.9.0 and the issue seems to be resolved.

I have seen this issue too and the last message seems to be the same problem, I wanted to open another one since that one is pretty old. https://github.com/firebase/firebase-unity-sdk/issues/728

Thank you in advance.

Reproducing the issue

I have two similar computer with the same Windows version, in one the app crashes with the SDK 12.10.0 and the other works fine. The build with the SDK 12.1.0 & 12.9.0 works on both computers.

I have attached the Player.log, the crash.dmp and the PC specs: Player.log crash.dmp PC-Specs.LOG

Firebase Unity SDK Version

12.10.0

Unity editor version

2022.3.49f1

Installation Method

Unity Package Manager

Problematic Firebase Component(s)

App Check

Other Firebase Component(s) in use

Analytics, Firestore, Crashlytics, Authentication, Messaging

Additional SDKs you are using

None.

Targeted Platform(s)

Desktop

Unity editor platform

Windows

Scripting Runtime

IL2CPP

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

Relevant Log Output

From the Player.log:

========== OUTPUTTING STACK TRACE ==================

0x00007FF8D2843020 (MSVCP140) Thrd_yield
0x00007FF806F67CCA (FirebaseCppApp-12_10_0) uWS::HttpSocket<0>::upgrade
0x00007FF806F5BE0A (FirebaseCppApp-12_10_0) uWS::HttpSocket<0>::upgrade
0x00007FF806F5AE27 (FirebaseCppApp-12_10_0) uWS::HttpSocket<0>::upgrade
0x00007FF8EE2F37B0 (ucrtbase) wcsrchr
0x00007FF8EEA9E8D7 (KERNEL32) BaseThreadInitThunk
0x00007FF8F06DC34C (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

If using CocoaPods for Apple platforms, the project's Podfile.lock

Issue in Windows.

mmiro1 avatar Jul 17 '25 10:07 mmiro1