Opening World Composition With DF Shadows Crashes Editor

Heya,

Just opening up the World Composition window brings it up, but the editor freezes and crashes a few seconds later with the following report:

MachineId:518532324DEAF6F08E3F3794052A7234
EpicAccountId:410265ac77994f4ba3e6ffa6e94fe16b

Unknown exception - code 00000001 (first/second chance not available)

Assertion failed: NumPlanes < 12 [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\Renderer\Private\DistanceFieldShadowing.cpp] [Line: 115] 

KERNELBASE + 37901 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 292 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FOutputDevice::Logf__VA() + 248 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Editor_Core!FDebug::AssertFailed() + 1079 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
UE4Editor_Renderer!FCullObjectsForShadowCS::SetParameters() + 876 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\distancefieldshadowing.cpp:116]
UE4Editor_Renderer!FProjectedShadowInfo::RenderRayTracedDistanceFieldProjection() + 967 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\distancefieldshadowing.cpp:656]
UE4Editor_Renderer!FProjectedShadowInfo::RenderProjection() + 850 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\shadowrendering.cpp:1787]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderProjections() + 758 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\shadowrendering.cpp:2695]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderProjectedShadows() + 3565 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\shadowrendering.cpp:3230]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderLights() + 4279 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\lightrendering.cpp:499]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() + 5885 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:870]
UE4Editor_Renderer!RenderViewFamily_RenderThread() + 944 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\renderer\private\scenerendering.cpp:1118]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`12'::EURCMacro_FDrawSceneCommand>::ExecuteTask() + 460 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\public\async\taskgraphinterfaces.h:667]
UE4Editor_Core!FTaskThread::ProcessTasks() + 3125 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:428]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() + 77 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:271]
UE4Editor_RenderCore!RenderingThreadMain() + 183 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\rendercore\private\renderingthread.cpp:282]
UE4Editor_RenderCore!FRenderingThread::Run() + 58 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\rendercore\private\renderingthread.cpp:385]
UE4Editor_Core!FRunnableThreadWin::Run() + 102 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]
UE4Editor_Core!FRunnableThreadWin::GuardedRun() + 93 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:26]
kernel32 + 88557 bytes
ntdll + 181569 bytes

Hi DamirH,

I’ve tried to replicate this one of my Distance Field shadows projects and one that I created fresh, but was unable to get the crash you’ve described.

Can you provide the Logs from your Saved > Logs folder in your project folder? Also, is this only happening in this particular project? Can you try this in a new project and see if you get the same results?

Thanks!

Tim

Hey Tim, here are the associated log and dmp files.link text

And yes, it seems to only be happening in this particular project. Namely I believe this is related to my huge level which houses my skybox but I don’t know if at all I can filter it out of world composition.

Would you be able to upload the logs.zip in a new zip file. The one there I believe is corrupted as it won’t let me open it in any fashion.

Of course, here they are, sorry for the trouble. I put in the txt as well, I cannot upload the dmp as the AnswerHub won’t let me.

link text

link text

Thanks for the logs! This was a known issue and has actually already been fixed in our internal build of the engine. This is being pushed now to see if we can get it out in the next Hot Fix. If it’s not able to be included with that it will be resolved with the release of 4.8.

Thank you!

Tim

Awesome news! Thanks for taking the time! Out of curiosity, could you explain the cause?

I am not familiar with what specifically caused this as I was talking with the engineer behind DFs here. I’m only aware that it is currently fixed and we want to do what we can to get this out sooner rather than later.

The fix version just came through as 4.7.3. I don’t have a specific ETA other soon unfortunately. Once it’s made available can you give this a shot and let me know if you’re still seeing the crash?

Thanks!

Of course! Thanks for everything.