Description

Shifting the world origin with a landscape in the level causes a crash in the render thread. This does not crash in 4.23.1 (CL-9631420).

This was reported and tested in 4.24.1 (CL-10757647) and reproduced in 4.25 (CL-10942641)

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank project
  2. Create a New Empty Level
  3. Create a Landscape with default settings
  4. Add a Directional Light to the Level
  5. Press Play
  6. Enter the Console Command "SetWorldOrigin"

Results: Editor crashes

Expected: World Origin Shifts

Callstack
[2020.01.10-16.06.23:184][504]LogWindows: Error: === Critical error: ===
[2020.01.10-16.06.23:184][504]LogWindows: Error: 
[2020.01.10-16.06.23:184][504]LogWindows: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp] [Line: 853] 
[2020.01.10-16.06.23:185][504]LogWindows: Error: Rendering thread exception:
[2020.01.10-16.06.23:185][504]LogWindows: Error: Fatal error!
[2020.01.10-16.06.23:185][504]LogWindows: Error: 
[2020.01.10-16.06.23:185][504]LogOutputDevice: Warning: 

Script Stack (0 frames):

[2020.01.10-16.06.23:185][504]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x3567d220
[2020.01.10-16.06.23:185][504]LogWindows: Error: 
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83565f1bc UE4Editor-D3D11RHI.dll!SetShaderResourcesFromBuffer_Surface<0>() [d:\build\++ue4\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11commands.cpp:1398]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83565d483 UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::SetResourcesFromTables<FD3D11VertexShader>() [d:\build\++ue4\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11commands.cpp:1542]
[2020.01.10-16.06.23:185][504]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83566dd68 UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::CommitGraphicsResourceTables() [d:\build\++ue4\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11commands.cpp:1559]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff835691892 UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::RHIDrawIndexedPrimitive() [d:\build\++ue4\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11commands.cpp:1662]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff865455001 UE4Editor-RHI.dll!FRHICommandDrawIndexedPrimitive::Execute() [d:\build\++ue4\sync\engine\source\runtime\rhi\public\rhicommandlistcommandexecutes.inl:242]
[2020.01.10-16.06.23:185][504]LogWindows: Error: HandleError re-entered.
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83b710d54 UE4Editor-Renderer.dll!FRHICommand<FRHICommandDrawIndexedPrimitive,FRHICommandDrawIndexedPrimitiveString979>::ExecuteAndDestruct() [d:\build\++ue4\sync\engine\source\runtime\rhi\public\rhicommandlist.h:726]
[2020.01.10-16.06.23:185][504]LogWindows: FPlatformMisc::RequestExit(1)
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff86545eff0 UE4Editor-RHI.dll!FRHICommandListExecutor::ExecuteInner_DoExecute() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:351]
[2020.01.10-16.06.23:185][504]LogCore: Engine exit requested (reason: Win RequestExit)
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff86545eacf UE4Editor-RHI.dll!FRHICommandListExecutor::ExecuteInner() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:622]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff86545f672 UE4Editor-RHI.dll!FRHICommandListExecutor::ExecuteList() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:645]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff865456deb UE4Editor-RHI.dll!FRHICommandWaitForAndSubmitSubList::Execute() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:1078]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff86545d010 UE4Editor-RHI.dll!FRHICommand<FRHICommandWaitForAndSubmitSubList,FRHICommandWaitForAndSubmitSubListString1044>::ExecuteAndDestruct() [d:\build\++ue4\sync\engine\source\runtime\rhi\public\rhicommandlist.h:726]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff86545eff0 UE4Editor-RHI.dll!FRHICommandListExecutor::ExecuteInner_DoExecute() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:351]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff86545eacf UE4Editor-RHI.dll!FRHICommandListExecutor::ExecuteInner() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:622]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff86545fc8b UE4Editor-RHI.dll!FRHICommandListExecutor::ExecuteList() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:672]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff865488da7 UE4Editor-RHI.dll!FDynamicRHI::RHIMapStagingSurface_RenderThread() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:2605]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff865471cd0 UE4Editor-RHI.dll!FRHIGPUTextureReadback::Lock() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhigpureadback.cpp:136]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83ba2cef7 UE4Editor-Renderer.dll!FSceneViewState::FEyeAdaptationRTManager::SwapRTs() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\postprocess\postprocesseyeadaptation.cpp:598]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83ba034a2 UE4Editor-Renderer.dll!AddHistogramEyeAdaptationPass() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\postprocess\postprocesseyeadaptation.cpp:325]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83ba0c162 UE4Editor-Renderer.dll!AddPostProcessingPasses() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\postprocess\postprocessing.cpp:502]
[2020.01.10-16.06.23:185][504]LogWindows: Error: [Callstack] 0x00007ff83b7a9593 UE4Editor-Renderer.dll!FDeferredShadingSceneRenderer::Render() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:2439]
[2020.01.10-16.06.23:186][504]LogWindows: Error: [Callstack] 0x00007ff83bc1b258 UE4Editor-Renderer.dll!RenderViewFamily_RenderThread() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\scenerendering.cpp:3477]
[2020.01.10-16.06.23:186][504]LogWindows: Error: [Callstack] 0x00007ff83bbf907c UE4Editor-Renderer.dll!TGraphTask<TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamily'::`35'::FDrawSceneCommandName,<lambda_7

Have Comments or More Details?

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

13
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.24.14.25
Target Fix4.25
Fix Commit10955490
Main Commit11205265
CreatedJan 10, 2020
ResolvedJan 13, 2020
UpdatedMar 5, 2020
View Jira Issue