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!

asked May 1 in Engine by darkwark (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 How to use this Q&A? before posting your first questions.