godot icon indicating copy to clipboard operation
godot copied to clipboard

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

Open Emarald64 opened this issue 2 years ago • 2 comments

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

Emarald64 avatar Jul 10 '23 16:07 Emarald64

Are you not getting any errors?

  • Related to: #52231

AThousandShips avatar Jul 10 '23 16:07 AThousandShips

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

Emarald64 avatar Jul 10 '23 17:07 Emarald64

There is a warning about it: image

KoBeWi avatar Jul 10 '23 22:07 KoBeWi

Closing as duplicate of the mentioned issue.

KoBeWi avatar Jul 10 '23 22:07 KoBeWi