Describe the bug
FileIO fails to load some files.
To Reproduce
Steps to reproduce the behaviour:
-
Load any image from resources folder
-
Image does not get loaded.
-
Try to load shader file from a folder within the resources folder (Such as resources/shaders)
-
Files will not load unless present in the root /resources folder.
Expected behaviour
Files should load correctly
Code
public static final Shader STAR_SHADER = Window.getWindow().core.LoadShader("shaders/star.vs", "shaders/star.rs");
Image image = rl.textures.LoadImage("image.png")
Desktop (please complete the following information):
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-44-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Additional context
When debugging, it seems that (At least for the image), FileIO is able to correctly load the information from the file, but is not able to parse that information into an Image object.
I'll look further into the issue when I have some time.
Thanks!
Describe the bug
FileIO fails to load some files.
To Reproduce
Steps to reproduce the behaviour:
Load any image from resources folder
Image does not get loaded.
Try to load shader file from a folder within the resources folder (Such as resources/shaders)
Files will not load unless present in the root /resources folder.
Expected behaviour
Files should load correctly
Code
public static final Shader STAR_SHADER = Window.getWindow().core.LoadShader("shaders/star.vs", "shaders/star.rs");Image image = rl.textures.LoadImage("image.png")Desktop (please complete the following information):
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-44-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Additional context
When debugging, it seems that (At least for the image), FileIO is able to correctly load the information from the file, but is not able to parse that information into an Image object.
I'll look further into the issue when I have some time.
Thanks!