firebase / quickstart-unity

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

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

Open Karthik002 opened 8 months ago

Karthik002 commented 8 months ago

[REQUIRED] Please fill in the following fields:

[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

google-oss-bot commented 8 months ago

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