Closed PortgateStudios closed 1 year ago
Hi @PortgateStudios,
From the error message you provided, it seems that the configuration file can't be detected. I've found a Stack Overflow post that talks about this, and some causes of it are special characters in the file path or the config file not exactly named "google-services.json". With that, please ensure that your users' configurations don't have any of these mistakes.
I'll be closing this for now. Feel free to comment if the issue persists so that this ticket can be reopened.
Thanks!
Yes, I created a special folder called Ádám (common Hungarian name), put the application inside that, and now the app options couldn't be loaded...
Great, at least now I can do a workaround this.
As I see this isn't a new issue. Why isn't thix fixed yet and is there an estimation about it?
Cheers!
Hi @PortgateStudios,
I have filed an internal request for this issue. I don't have any timelines for the fix, so I'll be leaving this open for now.
Thanks.
Duplicate of #405
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
On some of my users's PC (possibly all of them are Windows users, but who knows) FirebaseApp just fails to be created. It fails to load the FirebaseApp options, this is what it says on startup:
And when I first get
FirebaseFirestore.DefaultInstance
and it tries to create it, it throws this exception because there are no options loaded:I checked and I had the same google-services-desktop.json there as them. I even told them to replace theirs with mine, maybe there is an "invisible character" in theirs. But no, it still couldn't be loaded. And only small part of the player base reported this issue.
Steps to reproduce:
I couldn't reproduce it, because it's only happening on their PC.
Relevant Code:
And this is where it crashes, because it fails to create the FirebaseApp because there are no options loaded.
var db = FirebaseFirestore.DefaultInstance;