-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Can't read resource after export #87494
Comments
See also:
|
Tanks for guidance. I see, but I store my assets by add in project directly instead of coding if I'm misunderstanding. |
The documentation suggests that you should use As a workaround, you can check |
Thx for #66014 let me know that .tres files are changed after export, which means when in IDE, they were cat.tres but become car.tres.remap after exporting in my case. As for developing I can modify the path contains .remap. But I have no idea why my resource will change name after export? Doing nothing in script. |
Tested versions
4.2 stable
System information
MacOS 14.2.1
Issue description
I am new guy with using godot and everything all fine when I was develop in IDE to get resource for my sprite node. I am going to change the sprite frame variable when click button. Here are code:
I have tried load(), preload(), ResourceLoader.load() everything fine when test in editor. but after exported the game can't find resource via dir: res:// I don't know why and how can I do?
Steps to reproduce
Minimal reproduction project (MRP)
/
The text was updated successfully, but these errors were encountered: