Unity app with Firebase works in editor but no longer connecting during build

105 views Asked by At

I am making a VR application 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. Manual App Options Code

Would really appreciate the help, been stuck on this for a long time now!

0

There are 0 answers