This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hello,

I'm on macOS, and I'm trying to load an image file from the Desktop (or any other external directory) of my computer using:

ResourceLoader.load(path_to_image)

But Debugger shows me this Error:

_load: No loader found for resource: <...path_to_image...>
load: Error loading resource: '<...path_to_image...>'

It works fine if I load an image from the res:// folder though.

How do I grant access to File System to a Godot game?
For example, I can see that the FileDialog node has an access property for this:
enter image description here
Is there something similar for ResourceLoader?

Thank you!

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.