Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using load(path) outside res results in loader not found #41607

Closed
Jack-MoG opened this issue Aug 29, 2020 · 2 comments
Closed

using load(path) outside res results in loader not found #41607

Jack-MoG opened this issue Aug 29, 2020 · 2 comments

Comments

@Jack-MoG
Copy link

Godot version:

v3.2.1 stable edition

OS/device including version:

Windows 10

Issue description:

Using load(path) on a file outside of the res:// results in a "Loader not found error" despite the file existing

I'm working on a project that takes 3D models (.obj) from anywhere in a user's computer and adds them to the scene. I was able to find a workaround for 2D files (.png) using the Image class, but I couldn't find an equivalent for 3D. Mainly the Image.load(path) and the ImageTexture.create_from_image(Image) have no counterparts for Meshes.

Steps to reproduce:
use the load(path) method on a path outside of res://

Minimal reproduction project:

Godot load issue demo.zip
This project has a DNA.obj file that can be loaded when it's in the res:// folder, if you make a copy on the desktop and attempt to reach it the error is repeated

@Jack-MoG
Copy link
Author

#14879 deals with the same issue, there doesn't seem to be a fix for it yet, only workarounds for some image and audio files.

@Calinou
Copy link
Member

Calinou commented Aug 30, 2020

Duplicate of #14879.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants