[Unity] google-services.json is found, but error in Play Mode

2,105 views
Skip to first unread message

John Smith

unread,
Jul 21, 2019, 11:11:20 AM7/21/19
to Firebase Google Group
So I have just reloaded my configs into the Assets folder (for iOS and Android). My firebase plugin sees this config file when in Edit Mode, but when I hit Play Mode I still get the error below and firebase acts like he didn't see it. And when I go back to Edit Mode, it finds it again. What is that?

generated.png


Shawn Kuang

unread,
Jul 22, 2019, 8:41:34 PM7/22/19
to Firebase Google Group
Hi John,

Which version of Firebase Unity SDK are you using now?

To be clear, you encounter the problem when play in editor, correct?

I do notice that the text on Firebase panel changed when play in editor but that should not prevent Firebase SDK from loading the config.

Also please try the following steps:
1. Remove your iOS and Android config from your project.
2. Remove google-services-desktop.json under Assets/StreamingAssets/
3. Re-add your iOS and Android config.

Shawn

Shawn Kuang

unread,
Jul 26, 2019, 6:38:30 PM7/26/19
to Firebase Google Group
Hi John,

This seems to be a bug from our side.  The fix will be included in our next release.

At the mean time, you can do the following:
1. Close Firebase Window
2. To properly generate  google-services-desktop.json, try to switch to different platform, ex. desktop, and switch back to Android.

Please let us know if this fixes your issue.

Shawn
Reply all
Reply to author
Forward
0 new messages