I’m currently unable to build lighting without crashing in my project with this error:
I’ve checked and usage of both ram and vram is below 50%. I have cleaned and validated Swarm cache and there is no change.
The issue seems to be with 4.26.1 as I’ve tried to build lighting on older versions of my project and it still crashes when lighting used to build fine.
I’d like to just go back and run on 4.26.0 but it looks like even the branches on github are all 4.26.1.
Is it happening on the completion of a lighting build? If you can compile code, you can try the following code modification:
in Engine\Plugins\Experimental\GPULightmass\Source\GPULightmass\Private\Scene\Scene.cpp
It is happening at the completion of light build. I tried your fix and recompiled but unfortunately, the light build crashes at the same stage with the same error.
I think I’ve got the fix:
In Engine\Plugins\Experimental\GPULightmass\Source\GPULightmass\Private\Scene\Scene.cpp: around 2817
change
int32 SrcRowPitchInPixels = Lightmap.GetPaddedSize().X
to
int32 SrcRowPitchInPixels = GPreviewLightmapVirtualTileSize;