hi @brisck1 ,
Looks like a longer timeout is needed see the document
This was my first thought too, however when checking the registry for my TDR delay time, I found it’s already set high at 120 (decimal) which I believe is 2 mins? The strange thing is, when I delete the landscape and try baking everything is fine.
Also worth noting that this scene does not timeout/crash in previous version of Unreal with GPU Lightmass.
hi @brisck1 ,
We all wrote about this and in the early years of LGPU we went for a minimum of 300 if you had an early GTX 970 you will need over 500 be 600. My graphics card is Nvidia GTX 1050 and left at 620
MS does not recognise the problem, but drivers know it exists.
Just business as usual
Does UE5.4 have a raytracing light cap that also applies to GPULM? And is that cap changed or lifted in 5.5? Having some lights not bake in my test scene in 5.4, but they do in 5.5.
However, I have broken UVs on some objects in 5.5 and I can’t seem to resolve those. Still doing some testing.
You are a star… I had three meshes in a massive level (15k+ objects) which had a Material set to None… Ended up running a debug build where I could see the mesh that was causing the issue but your “hint” was the key!
Are there any plans to incorporate spherical harmonics for the volumetric lightmap into GPULM?
If not–how can I add it myself?
My first guess is to modify LightmapPathTracing.usf, but honestly I don’t have any idea where to look. There are a lot of different variables here and I’m not sure where to look.
I am using Engine Version 4.27 and I am using the version of GPULM that comes readily with the engine.
They still haven’t fixed the error: Assertion failed: GeometrySegmentIndex == RayTracingMeshCommand.GeometrySegmentIndex in version 5.5. It occurs every time I try to run the lighting build.
Summary
Assertion failed: GeometrySegmentIndex == RayTracingMeshCommand.GeometrySegmentIndex [File:D:\build++UE5\Sync\Engine\Plugins\Experimental\GPULightmass\Source\GPULightmass\Private\Scene\Scene.h] [Line: 50]
UnrealEditor_GPULightmass
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_GPULightmass
UnrealEditor_GPULightmass
UnrealEditor_GPULightmass
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll
I had the same problem and also fixed by checking if any of the meshes in the scene had an empty material slot and assigned something to it. also unchecked the share material code that sometimes crashes packed games using dx12 and raytracing
Unfortunately this didn’t work for me. Still getting the same crash.
I never used a so buggy software as the Unreal Engine. I render the same scene with the same settings at the next day and the GPU Lightmass crahses with the error:
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 863]
Rendering thread exception:
Assertion failed: GeometrySegmentIndex == RayTracingMeshCommand.GeometrySegmentIndex [File:D:\build++UE5\Sync\Engine\Plugins\Experimental\GPULightmass\Source\GPULightmass\Private\Scene\Scene.h] [Line: 50]
0x00007ffcd4b1f03c UnrealEditor-GPULightmass.dll!UnknownFunction
0x00007ffd1e5a5d3f UnrealEditor-Renderer.dll!UnknownFunction
0x00007ffd1e5ffb1b UnrealEditor-Renderer.dll!UnknownFunction
0x00007ffd1e8a24e8 UnrealEditor-Renderer.dll!UnknownFunction
0x00007ffd1e846415 UnrealEditor-Renderer.dll!UnknownFunction
0x00007ffcd4b46fa6 UnrealEditor-GPULightmass.dll!UnknownFunction
0x00007ffcd4b47da2 UnrealEditor-GPULightmass.dll!UnknownFunction
0x00007ffcd4b38d24 UnrealEditor-GPULightmass.dll!UnknownFunction
0x00007ffcd4b9ac55 UnrealEditor-GPULightmass.dll!UnknownFunction
0x00007ffd366ac2f5 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007ffd366d9fff UnrealEditor-RenderCore.dll!UnknownFunction
0x00007ffd32112722 UnrealEditor-Core.dll!UnknownFunction
0x00007ffd32107d4a UnrealEditor-Core.dll!UnknownFunction
0x00007ffd321081ee UnrealEditor-Core.dll!UnknownFunction
0x00007ffd3670894c UnrealEditor-RenderCore.dll!UnknownFunction
0x00007ffd3670d9e4 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007ffd3273c0ad UnrealEditor-Core.dll!UnknownFunction
0x00007ffd327335cf UnrealEditor-Core.dll!UnknownFunction
0x00007ffde9b07374 KERNEL32.DLL!UnknownFunction