-
Notifications
You must be signed in to change notification settings - Fork 450
Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2020.3, 2021,2
- Firebase Unity SDK version: 7.0 - 8.8
- Source you installed the SDK: unitypackage (.unitypackage or Unity Package Manager)
- Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
[REQUIRED] Please describe the issue here:
According to the Apple's release notes:
https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes
Python2 is removed on macOS 12.3, and will not be added back any more, also the Python2 is end-of-life!
Due to the Python2 is removed, the Firebase SDK comes with the error logs likes "Unable to find command line tool python required for Firebase Android resource generation."
I've try to install back the Python2 by .pkg installer, but it doesn't work, looks like Firebase SDK use a specific path to local Python binary.
The error cause problem, on 2020.3 version, sometimes it cause the Android build faild (The error log comes so the Editor stop the build proccess)
And on 2021.2 the problem goes worse, this problem cause the C# script compile backend crash with no reason, and than you cannot compile any edited C# script until editor restart.
I would point out the issue is cause by Firebase SDK(and the removed Python2) are because of 2 reason.
- On 2021.2 on macOS 12.3, after deleting the Firebase.Editor.dll (the part that Firebase SDK using Python2) file, the issue gone.
- On 2021.2 on macOS 12.2 (which system include Python2 built-in), everything works great.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
What's the issue repro rate? (eg 100%, 1/5 etc)
100% if you open a project which is install Firebase SDK and on macOS 12.3 beta.
I understand that macOS 12.3 is a beta version OS, so there may be something unstable.
But the Python2 is end-of-life 2 years ago, if the issue is really cause by the removing of Python2 on macOS 12.3 beta, I think the issue should not be happend today.