firebase / quickstart-unity

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

JniResultCallback.onCompletion Deadlocked, ANR In Firebase Unity SDK 8.9.0 #1286

Closed fdspbsteam closed 1 year ago

fdspbsteam commented 2 years ago

[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

[REQUIRED] Please fill in the following fields:

Unity editor version: 2020.3.22f1 Firebase Unity SDK version: 8.9.0 Source you installed the SDK: .unitypackage Problematic Firebase Component: Cloud Messaging Other Firebase Components in use: Auth, Database, Remote Config Additional SDKs you are using: Facebook, IronSource, Adjust Platform you are using the Unity editor on: Mac Platform you are targeting: Android and iOS Scripting Runtime: IL2CPP

[REQUIRED] Please describe the issue here:

2022-06-14_13-42-09 image image

image image

Steps to reproduce:

Possible steps:

  1. run the app from background, maybe push

    Relevant Code:

// TODO(you): code here to reproduce the problem
fdspbsteam commented 1 year ago

the approach of real engineers "new release hypothetically" will fix the problem, but we don't know for sure

danilavanilla commented 1 year ago

Anybody know when it will be available at Unity Package Manager?

timbo-tj commented 1 year ago

The individual packages seem to be live for me

https://developers.google.com/unity/archive#firebase

If you are referring to the Google scoped registry for the package manager then I have some bad news for you..!

https://github.com/firebase/quickstart-unity/issues/1030

timbo-tj commented 1 year ago

the approach of real engineers "new release hypothetically" will fix the problem, but we don't know for sure

I'm just happy google is trying to address an issue that's hard to even reproduce. We are talking about less than 0.5% of sessions after all.

vg-swift commented 1 year ago

You might want to wait before updating if you're using RemoteConfig, there's a breaking issue on initialization in a build: https://github.com/firebase/firebase-unity-sdk/issues/751

timbo-tj commented 1 year ago

Were observing that the issue is resolved. Rolled out an update 2 days ago and have not seen any occurrences of it since.