Skip to content
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

Unity Firebase App works in editor but not in build #1358

Open
Karthik002 opened this issue Oct 30, 2023 · 2 comments
Open

Unity Firebase App works in editor but not in build #1358

Karthik002 opened this issue Oct 30, 2023 · 2 comments
Labels
new New issue.

Comments

@Karthik002
Copy link

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2022.3.1
  • Firebase Unity SDK version: 11.6.0
  • Source you installed the SDK: .unitypackage (.unitypackage or Unity Package Manager)
  • Problematic Firebase Component: Auth (Auth, Database, etc.)
  • Other Firebase Components in use: Database(Auth, Database, etc.)
  • Additional SDKs you are using: _____ (Facebook, AdMob, etc.)
  • Platform you are using the Unity editor on: Windows (Mac, Windows, or Linux)
  • Platform you are targeting: Android (iOS, Android, and/or desktop)
  • Scripting Runtime: IL2CPP (Mono, and/or IL2CPP)

[REQUIRED] Please describe the issue here:

I am making a VR application (android apk build) using Unity with OpenXR, and have it connected to Firebase Authentication and Realtime Database. It was initially working fine on both editor and on build on a Meta Quest 2, but we had to change our database. After changing the database, I replaced the google-services.json with the new one in the same location. In the editor, I can connect to Firebase fine but when I build and try in VR, I am unable to connect.

I've tried re-adding the google-services.json and removing and re-installing the Firebase Unity SDK's manually. I even saw on another post that you can create the app options manually as a last resort and tried that using the following code, but it still doesn't work.
image

@Karthik002 Karthik002 added the new New issue. label Oct 30, 2023
@google-oss-bot
Copy link

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@Keirx
Copy link

Keirx commented Sep 14, 2024

have you found the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new New issue.
Projects
None yet
Development

No branches or pull requests

3 participants