Description

If there is a sky light in a scene and the viewport is detached and closed prior to saving, the editor will crash when trying to reopen the project.

Crash Reporter:
431802

Steps to Reproduce

1. Launch UE4 (any project)
2. Add a sky light to the level
3. Detach the viewport from the editor window
4. Close the viewport
5. Save the project and close the editor
6. Reopen the project

Callstack
MachineId:CBEDBD984729ED6F6BB5A5ACA8AAB08A
UserName:DougWilson

Access violation - code c0000005 (first/second chance not available)

UE4Editor_Renderer!ClearScratchCubemaps() + 147 bytes [d:\ue4-main\ue4\engine\source\runtime\renderer\private\reflectionenvironmentcapture.cpp:661]
UE4Editor_Renderer!TGraphTask<`FScene::UpdateSkyCaptureContents'::`5'::EURCMacro_ClearCommand>::ExecuteTask() + 375 bytes [d:\ue4-main\ue4\engine\source\runtime\core\public\async\taskgraphinterfaces.h:667]
UE4Editor_Core!FTaskThread::ProcessTasks() + 2948 bytes [d:\ue4-main\ue4\engine\source\runtime\core\private\async\taskgraph.cpp:428]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() + 77 bytes [d:\ue4-main\ue4\engine\source\runtime\core\private\async\taskgraph.cpp:271]
UE4Editor_RenderCore!RenderingThreadMain() + 153 bytes [d:\ue4-main\ue4\engine\source\runtime\rendercore\private\renderingthread.cpp:268]
UE4Editor_RenderCore!FRenderingThread::Run() + 78 bytes [d:\ue4-main\ue4\engine\source\runtime\rendercore\private\renderingthread.cpp:368]
UE4Editor_Core!FRunnableThreadWin::Run() + 86 bytes [d:\ue4-main\ue4\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]
UE4Editor_Core!FRunnableThreadWin::GuardedRun() + 93 bytes [d:\ue4-main\ue4\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:26]
kernel32 + 88557 bytes
ntdll + 181569 bytes

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Target Fix4.6
Fix Commit2347433
Release Commit2350504
CreatedOct 21, 2014
ResolvedNov 5, 2014
UpdatedApr 27, 2018
View Jira Issue