Description

I ran the command with no actual changes to shaders.

Recompileshaders global and changed did not crash the editor.

Steps to Reproduce
  1. Open UE4Editor on any project. (I used QAGame)
  2. Right click in the perspective viewport and select "Play from here"
  3. Open a console command window by pressing ~
  4. Enter "Recompileshaders All"

Actual Results: After a little bit of time editor will crash with an Assert.
Expected Results: Shaders are recompiled without editor crashing.

Callstack
[2016.11.10-17.52.53:345][921]LogWindows:Error: === Critical error: ===
[2016.11.10-17.52.53:345][921]LogWindows:Error: 
[2016.11.10-17.52.53:345][921]LogWindows:Error: Fatal error: [File:D:\_Workspaces\curtis.zuehls_4.14_Release\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 791] 
[2016.11.10-17.52.53:345][921]LogWindows:Error: Rendering thread exception:
[2016.11.10-17.52.53:345][921]LogWindows:Error: Assertion failed: !Material->IsDefaultMaterial() [File:D:\_Workspaces\curtis.zuehls_4.14_Release\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp] [Line: 198] 
[2016.11.10-17.52.53:345][921]LogWindows:Error: 
[2016.11.10-17.52.53:345][921]LogWindows:Error: 
[2016.11.10-17.52.53:345][921]LogWindows:Error: 
[2016.11.10-17.52.53:345][921]LogWindows:Error: KERNELBASE.dll
[2016.11.10-17.52.53:345][921]LogWindows:Error: UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:103]
[2016.11.10-17.52.53:346][921]LogWindows:Error: UE4Editor-Core.dll!FOutputDevice::Logf__VA() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\private\misc\outputdevice.cpp:68]
[2016.11.10-17.52.53:346][921]LogWindows:Error: UE4Editor-Core.dll!FDebug::AssertFailed() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
[2016.11.10-17.52.53:346][921]LogWindows:Error: UE4Editor-Engine.dll!FDefaultMaterialInstance::GetMaterial() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\engine\private\materials\material.cpp:200]
[2016.11.10-17.52.53:346][921]LogWindows:Error: UE4Editor-Renderer.dll!FShadowDepthDrawingPolicyFactory::AddStaticMesh() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\renderer\private\shadowdepthrendering.cpp:919]
[2016.11.10-17.52.53:346][921]LogWindows:Error: UE4Editor-Renderer.dll!FStaticMesh::AddToDrawLists() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\renderer\private\scenecore.cpp:315]
[2016.11.10-17.52.53:347][921]LogWindows:Error: UE4Editor-Renderer.dll!FPrimitiveSceneInfo::AddStaticMeshes() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\renderer\private\primitivesceneinfo.cpp:146]
[2016.11.10-17.52.53:347][921]LogWindows:Error: UE4Editor-Renderer.dll!FPrimitiveSceneInfo::AddToScene() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\renderer\private\primitivesceneinfo.cpp:189]
[2016.11.10-17.52.53:347][921]LogWindows:Error: UE4Editor-Renderer.dll!FScene::AddPrimitiveSceneInfo_RenderThread() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\renderer\private\rendererscene.cpp:467]
[2016.11.10-17.52.53:347][921]LogWindows:Error: UE4Editor-Renderer.dll!`FScene::AddPrimitive'::`2'::EURCMacro_FAddPrimitiveCommand::DoTask() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\renderer\private\rendererscene.cpp:705]
[2016.11.10-17.52.53:347][921]LogWindows:Error: UE4Editor-Renderer.dll!TGraphTask<`FScene::AddPrimitive'::`2'::EURCMacro_FAddPrimitiveCommand>::ExecuteTask() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\public\async\taskgraphinterfaces.h:868]
[2016.11.10-17.52.53:348][921]LogWindows:Error: UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\private\async\taskgraph.cpp:932]
[2016.11.10-17.52.53:348][921]LogWindows:Error: UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\private\async\taskgraph.cpp:679]
[2016.11.10-17.52.53:348][921]LogWindows:Error: UE4Editor-RenderCore.dll!RenderingThreadMain() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\rendercore\private\renderingthread.cpp:320]
[2016.11.10-17.52.53:348][921]LogWindows:Error: UE4Editor-RenderCore.dll!FRenderingThread::Run() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\rendercore\private\renderingthread.cpp:454]
[2016.11.10-17.52.53:348][921]LogWindows:Error: UE4Editor-Core.dll!FRunnableThreadWin::Run() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]
[2016.11.10-17.52.53:348][921]LogWindows:Error: UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() [d:\_workspaces\curtis.zuehls_4.14_release\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:31]
[2016.11.10-17.52.53:348][921]LogWindows:Error: kernel32.dll
[2016.11.10-17.52.53:349][921]LogWindows:Error: ntdll.dll
[2016.11.10-17.52.53:349][921]LogWindows:Error: ntdll.dll

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-38481 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.14
Target Fix4.15
Fix Commit3206551
Main Commit3219854
CreatedNov 10, 2016
ResolvedNov 21, 2016
UpdatedApr 27, 2018
View Jira Issue