#VoxelGI doesn't work in exported builds, but works when playing from editor

1 messages · Page 1 of 1 (latest)

snow steppe
#

I've been having a really weird issue where the VoxelGI node works properly when playing in editor debug, but not on exported builds (release, or debug mode).
On exported builds this error occurs when the VoxelGI is added to the scene: ERROR: Condition "!p_data.has("bounds")" is true. at: _set_data (scene/3d/voxel_gi.cpp:40)
From the error it seems the VoxelGI node can't load the data properly, so its definitely related to the issue, but I have no idea how to fix it. I don't know what could cause the VoxelGI data specifically to not get loaded, since every other resource loads in correctly.

snow steppe
#

Solved

#

VoxelGI data was being saved as a text resource

#

When I saved it as a binary resource it worked