-
Notifications
You must be signed in to change notification settings - Fork 441
iOS support is required on Windows for a Firebase project, causing Unity to not respond when I build for Android #1003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @pardo162, I have followed the steps you've listed, but the behavior in my Android build is the same as the editor's. To be specific, the text changed to "done1" then "1". With that, could you confirm if this issue persists with just that code and the Database SDK in your project? If so, please provide the logs from the Android Logcat when running your app so that I can identify what's causing your issue. Additionally, I noticed that you're using an LTS version of Unity. A new version was released recently (2020.3.1f1), so it's possible that updating your Unity editor may resolve your issue. Let me know how it goes. Thanks! |
LogCast.txt |
Hi @pardo162, The latest version of the Unity editor is version 2021.1.0. Could you try using this version and see if the issue is fixed? If not, please provide a minimal, reproducible example of your project. The cause of this behavior may come from within your project. |
Hi @pardo162 , It looks like it will be necessary to add iOS support to your Unity installation to use Firebase. It looks like this issue is related to googlesamples/unity-jar-resolver#412 (the error you're seeing in Adding iOS support is the best workaround for now. I know that this isn't ideal and I will leave this open as a bug though since this shouldn't be required (in our testing, because of the dependency on CocoaPods, Windows versions of Unity cannot export a buildable XCode project with Firebase or other EDM4U libraries). Image included for others who stumble across this: The issue is that some of our libraries that edit XCode projects included For your other questions:
|
I manage to solve the problem of IOS build support, now I only have Android build support, but my APK still does not respond. |
What do i do now? I'm done with my game and the only thing I need to launch it is the connection to firebase |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
From what I have been able to observe the database does not give an answer, it does not give the data or an error.
The problem appears in the APK not in the Editor. In the Editor it works.
Steps to reproduce:
do you need my Unity package name?
create a test database with:
season = 1
1 create a 3D project in Unity.
2 create the script "testFB".
3 copy and paste the code (code at the end).
4 create any object in the scene "Create Empty".
5 add the script "testFB" to the new object.
6 create a Canvas then panel and inside a Text.
7 adjust the sizes of the GUI.
8 add the created Text to the script in Result.
9 the project must run in the editor. Should read "1" from the database.
10 build the project for Android and it will stop working
Relevant Code:
The text was updated successfully, but these errors were encountered: