Skip to content

[Bug] Unity App Crash on launch with Firebase 12.10.0 #1291

Open
@mmiro1

Description

@mmiro1

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.
#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.

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