-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Godot headless export does not include a png texture that is part of a shader #55711
Comments
I've had a bit of a poke around and it seems Godot headless fails to correctly detect imported textures for use as 3D VRAM textures. All textures will have Opening the project once in editor solves the issue. Obviously unideal if you're automating builds through github actions.
I also tried the solution listed here too but couldn't seem to get it to work: Kersoph/open-sequential-logic-simulation#4 The work around I've found is overriding the texture import options to import everything for 3D. In our instance this is okay as the project is VR but perhaps not a solution for all. |
Is this fixed by #56048? |
@fire Is there a way to test it on 3.x? Or is there a way to import the test project in to 4? |
Godot version
3.4 stable
System information
windows, linux,html5
Issue description
I have a reproduction project, that when exported via the editor it creates a .import asset for grid.ong and its visible in the exported binary.
however, when using the godot headless binary to export it misses that asset and the texture is missing.
The issue also happends in the github action in the project which uses the headless build.
I suspect its because its part of a shader.
I have made a repo, that reproduces the issue:
guysoft/godot_import_action_reproduce#1
Steps to reproduce
See: guysoft/godot_import_action_reproduce#1
Use the github action or the command lised in the example project issue
Minimal reproduction project
https://github.com/guysoft/godot_import_action_reproduce
Images and more description:
guysoft/godot_import_action_reproduce#1
Pasting here so you can see too:
When using the godot editor and running/exporting the scene looks like this.
This is the expected result:
When using the gihub actions the grid.png is not imported and the scene looks like this.
This is the actual result.
How to reproduce in commandline:
(there is also a windows export that gives the same issue)
This also happens if you export this project using the godot headless script which this github action uses:
Binaries are available in the release page from the action:
https://github.com/guysoft/godot_import_action_reproduce/releases
The text was updated successfully, but these errors were encountered: