UE forward renderer crash on level open

Hello,

after updating to 4.14 and turning on the Forward rendering I am facing some crashes.

In some cases crash happens in game when trying to stream new level and some levels crash in editor when trying to open them.

I always get this:

Assertion failed: 0 [File:D:\Build\++UE4+Release-4.14+Compile\Sync\Engine\Source\Runtime\Renderer\Private\*ShadowRendering*.cpp] [Line: 868] 

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
UE4Editor_Renderer!FProjectedShadowInfo::RenderProjection() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\renderer\private\shadowrendering.cpp:868]
UE4Editor_Renderer!FSceneRenderer::RenderShadowProjections() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\renderer\private\shadowrendering.cpp:1327]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderForwardShadingShadowProjections() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\renderer\private\lightgridinjection.cpp:617]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:808]
UE4Editor_Renderer!CaptureSceneToScratchCubemap() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\renderer\private\reflectionenvironmentcapture.cpp:807]
UE4Editor_Renderer!TGraphTask<`CaptureSceneIntoScratchCubemap'::`4'::EURCMacro_CaptureCommand>::ExecuteTask() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:868]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:932]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:679]
UE4Editor_RenderCore!RenderingThreadMain() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:320]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:454]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

Thanks for any help or info what might be causing it!

Victor

Hey VictorKane,

I have been attempting to reproduce this crash on my end using the suggested ideas you have provided, but have been unsuccessful thus far.

Could you provide to me your ‘dxdiag’ and you crash logs located in your project’s Saved > Logs directory?

Could you also attempt to narrow down the exact cause of the issue in order for me to reproduce the issue on my end?

Let me know if you have additional questions or concerns.

Thank you,

Hi Andrew,

thanks for taking care of this. I have attached my crash log.

Since posting this I have managed to find out when it is actually crashing.

The reason is Sky Light.
When I add new Sky Light into my level that has some geometry with textures it crashes the editor. It won’t crash in empty level.
When I have some level with geometry and Sky Light opened and I try to open different level with Sky Light it crashes the editor. Sometimes crash happenes only when playing level in game in new window.

What worked for me to avoid crash was to change Sky Light Source Type from SLS Captured Scene to SLS Specified Cubemap and add custom Cubemap.

Just for info the project was working fine in 4.13, after converting project to 4.14 and turning on forward rendering this started to happen.

Hopefully this helps :slight_smile:

Best,
Victor

link text

So I opened up your logs and found you have a large number of Accessed None errors. I think your project could be crashing due to these errors, as I attempted to reproduce the crash in a new project using the steps you have mentioned and still was unsuccessful.

Accessed None Errors

I also need your ‘dxdiag’ as well as the process to reproduce this in a blank project. If you are crashing on a particular project, it is going to be difficult for us to reproduce that on our end.

If you can provide to me the callstack with the logs of your most recent crash, then I can use your EpicID to search for the crash in our internal database and continue with the bug reporting process.

Thank you,

ok this helped like for a few minutes, but didn’t solve the problem. crash is back after I could work with the level a little bit.

Question: do you use Dungeon Architect by any chance for your crashing level?

Hi, I have the same problem. I post here because I think I found a solution: in 4.14 delete the new automatically created asset “_BuiltData”. I had this error below like you and the whole editor crashed when I tried to open this level.
Hope this helps!

[2016.11.24-20.07.08:618][ 3]LogWindows:Error: === Critical error: ===
[2016.11.24-20.07.08:618][ 3]LogWindows:Error:
[2016.11.24-20.07.08:618][ 3]LogWindows:Error: Fatal error: [File:D:\Build++UE4+Release-4.14+Compile\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 791]
[2016.11.24-20.07.08:618][ 3]LogWindows:Error: Rendering thread exception:
[2016.11.24-20.07.08:618][ 3]LogWindows:Error: Assertion failed: 0 [File:D:\Build++UE4+Release-4.14+Compile\Sync\Engine\Source\Runtime\Renderer\Private\ShadowRendering.cpp] [Line: 868]
[2016.11.24-20.07.08:618][ 3]LogWindows:Error:

after a lot of try this and try that, this brought me my level back: disable forward renderer in project, restart UE4, open level - if no crash now, this should work - build light, restart UE4, enabled forward renderer again, restart UE4, open level - should not crash now.

this takes a lot of time though :slight_smile: