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

Textures don't appear on export with improper capitalisation but do appear in the debugger #79298

Closed
Emarald64 opened this issue Jul 10, 2023 · 4 comments

Comments

@Emarald64
Copy link

Godot version

4.1

System information

Windows 11

Issue description

When running a project that loads files in code though the debugger the capitulation of file names doesn't matter. However when exporting the project the capitulation does matter. This can lead to issues that only appear when exporting the project but not when developing.

Steps to reproduce

Create a scene with a textureRect node. create a script that assigns a texture to the node but has improper capitulation of the file name. when the scene is run in the editor the txture appears on the node. However when exported the texture does not appear

Minimal reproduction project

Archive.zip

@AThousandShips
Copy link
Member

Are you not getting any errors?

@AThousandShips AThousandShips changed the title Textures don't appear on export with improper capitisatio but do appear in the debugger Textures don't appear on export with improper capitalisation but do appear in the debugger Jul 10, 2023
@Emarald64
Copy link
Author

Emarald64 commented Jul 10, 2023

In the editor and when running it in the debugger I don't get any errors. I think when I exported to windows and ran the console version I got errors

@KoBeWi
Copy link
Member

KoBeWi commented Jul 10, 2023

There is a warning about it:
image

@KoBeWi
Copy link
Member

KoBeWi commented Jul 10, 2023

Closing as duplicate of the mentioned issue.

@KoBeWi KoBeWi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2023
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

3 participants