Closed ChurikiTenna closed 2 months ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hey @ChurikiTenna, thanks for reaching out. The latest versions of Firebase 12.0.0
+ requires a higher version of Android Gradle plugin and Gradle version. The problem is the AGP and Gradle version is tied up with the version of the Unity Editor you're using. Please update and use the latest LTS version of Unity Editor. (e.g. 2022.3.44f1
, 2021.3.43f1
)
Additionally, to avoid this issue, please note that you'll also need to update your Minimum API level
to 24
. If you'd prefer to stay at version 22
. You may enable Project Settings > Publishing Settings > Minify > Release/Debug
which will fix the r8
tool issue.
Let me know if it helps. Thanks!
Thank you @argzdev for the response! The crash also occur when using Firebase 11.6.0, and it is on Mac Editor, so Gradle version seems irrelevant... But I'll try anyway and let you know!
ps: Updated the issue description with more detailed information.
Hi @argzdev ! I have updated Unity to 2022.3.44f1 and minimum api level is set to 32, but the issue still persist. The app still crashes...
Thanks for testing those out, @ChurikiTenna. I'm guessing the issue might have something to do with your code or configuration. If you try running our Firebase Quickstart Unity for Firestore, do you also experience the same behavior?
Also any chance you could share an MCVE?
Just some updates, I noticed there was also a similar issue filed, where I was able to reproduce the same behavior with our quickstart. It seems to be an issue with the login for the keychain. I wonder if this is the same issue. Could you try if adding your login works?
Hey @ChurikiTenna. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@ChurikiTenna if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
Description
The app is running fine on Mac,Windows,iOS,Android,Windows Editor. However, when I try to run it on Mac Editor, it always crashes.
Reproducing the issue
Add Firebase SDK to the project and write any code that calls firestore, run it on Mac editor. Firebase auth works fine
Firebase Unity SDK Version
12.2.0
Unity editor version
2020.3.17f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
Firestore
Other Firebase Component(s) in use
Authentication, Firestore, Storage
Additional SDKs you are using
No response
Targeted Platform(s)
Desktop
Unity editor platform
Mac
Scripting Runtime
Mono
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
If using CocoaPods for Apple platforms, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml 👀 Replace this line with the contents of your Podfile.lock! ```