Any thoughts? Trouble with Mac OS and .env file #488
Replies: 4 comments 1 reply
-
I can't imagine it's the security thing. For the export, did you include *.env in the resources? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Can you show me that you have the file in the path of shows there? Don't have to show the contents of the file, just need to see that it's there. |
Beta Was this translation helpful? Give feedback.
-
Well, I figured it out and it was probably something I should have checked in the first place. The Finder was automatically adding a hidden ".txt" to the file. Looking at it in the Terminal showed the problem and I was able to rename it there. Now it seems to be working correctly! Thank you again for your help |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to both Godot and Firebase so I apologize in advance if this an obvious question.
On project startup I am getting this error:
ERROR: [Firebase Error] >> Unable to read .env file at path 'res://addons/godot-firebase/.env'
I have double checked permissions and file types/text encoding (against example.env). I also tried replacing my file with a renamed copy of example.env and still get the error.
I have a suspicion that the Mac OS Gatekeeper security might be blocking it because it is a "." file. I have allowed the file in Privacy & Security so it will open with a double-click in my text editor. I wonder if there is another layer that is blocking it? Also, the Finder considers "." files invisible by default, would trying to access one by a non-system app cause any difficulties?
Currently running Mac OS 15.6.1 (Sequoia), Godot 4.4.1 and the latest version of the GodotFirebase addon.
Thanks for any insight you can provide!
Beta Was this translation helpful? Give feedback.
All reactions