Open TCROC opened 4 months ago
@Repiteo this issue shouldn't be closed. The PRs that went through were for separate issues. I believe they may have even referenced the fact that they don't resolve this issue. I can see how an automated system may have incorrectly attached this issue to one of those PRs 😅
@akien-mga @AThousandShips This issue should still be open.
Thanks everyone :)
The reason this was closed is you wrote "when issue gets resolved: #94734", you linked it yourself, make sure you pay attention to the special labels (and pay attention to the side bar where they are listed)
Ah I see. I will pay attention to it going into the future. Thanks for the heads up :)
Tested versions
4.3.beta.mono.custom_build.ba7c5b0c8
System information
Godot v4.3.beta.mono (ba7c5b0c8) - Pop!_OS 22.04 LTS - Wayland - Vulkan (Forward+) - dedicated Intel(R) Arc(tm) A750 Graphics (DG2) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)
Issue description
Godot currently doesn't support importing glsl shaders in a headless context. This creates a problem for continuous integration / pipelines. @clayjohn worded it perfectly in the rocket chat so I'll just quote it here:
This appears to be the PR that disabled glsl imports in headless mode: https://github.com/godotengine/godot/pull/92539
I tried simply reverting that PR and interestingly, it does seem to import the glsl shader. However, it crashes in the exported project when that shader is loaded if it wasn't previously loaded in a non-headless context.
Steps to reproduce
.godot
folder in the project directory so there aren't any cached imports.godot --headless --path path/to/project --import
godot --headless --path path/to/project --export-debug PresetName path/to/export/game.exe
Minimal reproduction project (MRP)
scatter.zip
https://github.com/HungryProton/scatter.git