Skip to content

Conversation

@Calinou
Copy link
Member

@Calinou Calinou commented Nov 13, 2025

This greatly reduces PCK size for dedicated servers in projects that use either VoxelGI or LightmapGI for global illumination. Additionally, this prevents errors from being printed on export when using --headless to export a dedicated server PCK in a project that uses a VoxelGI node.

The same approach can be used to implement godotengine/godot-proposals#12748 later on.
Edit: Done in #112773.

Testing project: test_headless_voxelgi_export.zip

Preview

File sizes are in bytes. The test project includes a LightmapGI node with 16 probe subdivisions and a VoxelGI node with 128 subdivisions.

Before this PR, both PCK/ZIPs would be the same size as the project doesn't include any textures.

PCK size

505140 /tmp/out.pck
 42852 /tmp/out_server.pck

ZIP size

329870 /tmp/out.zip
 14608 /tmp/out_server.zip

… server exports

This greatly reduces PCK size for dedicated servers in projects that use
either VoxelGI or LightmapGI for global illumination.
@Calinou Calinou force-pushed the voxelgidata-lightmapgidata-add-placeholder branch from 513085c to 17b7c2f Compare November 25, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exporting a project from headless mode prints an error when VoxelGIData is present in the project

1 participant