Description

Adding an instance of Atmospheric Fog to a Level causes the Editor to crash on both Linux and Windows when using Vulkan. There is a different callstack when SteamVR is enabled on Linux which is also attached.

This was reported and tested in 4.21.1 (CL-4613538). This was reproduced in 4.20.3 (CL-4369336) and Main 4.22 (CL-4629913)

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank Template project
  2. In the default map that opens up, select Atmospheric Fog from the World Outliner and delete it
  3. In the Modes tab click on Visual Effects and drag an instance of Atmospheric Fog to the Level

Results: The Editor crashes

Expected: The Editor doesn't crash

Callstack

Callstack 1

0x00007f9a93b2cc06 libUE4Editor-Renderer.so!FAtmosphericFogSceneInfo::Read3DPixelsPtr(FRHICommandListImmediate&, TRefCountPtr<IPooledRenderTarget>, FFloat16Color*, FIntRect, FIntPoint) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/AtmosphereRendering.cpp:1545]
 0x00007f9a93b2d338 libUE4Editor-Renderer.so!FAtmosphericFogSceneInfo::PrecomputeTextures(FRHICommandListImmediate&, FViewInfo const*, FSceneViewFamily*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/AtmosphereRendering.cpp:1656] 0x00007f9a93c08d96 libUE4Editor-Renderer.so!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/DeferredShadingRenderer.cpp:1315] 0x00007f9a941861da libUE4Editor-Renderer.so!RenderViewFamily_RenderThread(FRHICommandListImmediate&, FSceneRenderer*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/SceneRendering.cpp:2949] 0x00007f9a9419605c libUE4Editor-Renderer.so!TGraphTask<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) [/home/test/UnrealEngine-.21/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:829] 0x00007f9aaf114ed9 libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:678] 0x00007f9aaf113fb3 libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:574] 0x00007f9aa940e13f libUE4Editor-RenderCore.so!RenderingThreadMain(FEvent*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:332] 0x00007f9aa9424a92 libUE4Editor-RenderCore.so!FRenderingThread::Run() [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:484] 0x00007f9aaf190aac libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25] 0x00007f9aaf17a2c3 libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:177] 0x00007f9aafe4e6db libpthread.so.0!UnknownFunction(0x76da) 0x00007f9aa386c88f libc.so.6!clone(+0x3e)
libUE4Editor-Core.so!FGenericPlatformMisc::RaiseException(unsigned int) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:411]
libUE4Editor-Core.so!FUnixErrorOutputDevice::Serialize(char16_t const*, ELogVerbosity::Type, FName const&) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/Unix/UnixErrorOutputDevice.cpp:56]
libUE4Editor-Core.so!FOutputDevice::LogfImpl(char16_t const*, ...) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/Misc/OutputDevice.cpp:71]
libUE4Editor-Core.so!FDebug::AssertFailed(char const*, char const*, int, char16_t const*, ...) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp:417]
libUE4Editor-VulkanRHI.so!FVulkanDynamicRHI::RHIRead3DSurfaceFloatData(FRHITexture*, FIntRect, FIntPoint, TArray<FFloat16Color, FDefaultAllocator>&) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/VulkanRHI/Private/VulkanRenderTarget.cpp:1152]
libUE4Editor-Renderer.so!FAtmosphericFogSceneInfo::Read3DPixelsPtr(FRHICommandListImmediate&, TRefCountPtr<IPooledRenderTarget>, FFloat16Color*, FIntRect, FIntPoint) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/AtmosphereRendering.cpp:1545]
libUE4Editor-Renderer.so!FAtmosphericFogSceneInfo::PrecomputeTextures(FRHICommandListImmediate&, FViewInfo const*, FSceneViewFamily*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/AtmosphereRendering.cpp:1656]
libUE4Editor-Renderer.so!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/DeferredShadingRenderer.cpp:1315]
libUE4Editor-Renderer.so!RenderViewFamily_RenderThread(FRHICommandListImmediate&, FSceneRenderer*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Renderer/Private/SceneRendering.cpp:2949]
libUE4Editor-Renderer.so!TGraphTask<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:829]
libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:678]
libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:574]
libUE4Editor-RenderCore.so!RenderingThreadMain(FEvent*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:332]
libUE4Editor-RenderCore.so!FRenderingThread::Run() [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:484]
libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/test/UnrealEngine-4.21/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:177]
libpthread.so.0!UnknownFunction(0x76da)
libc.so.6!clone(+0x3e)

Callstack 2

[2018.12.05-18.19.00:117][ 96]LogWindows: Error: [Callstack] 0x00007fff9eb050d8 KERNELBASE.dll!UnknownFunction []
[2018.12.05-18.19.00:117][ 96]LogWindows: Error: [Callstack] 0x00007fff80736850 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
[2018.12.05-18.19.00:117][ 96]LogWindows: Error: [Callstack] 0x00007fff582462fc UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2018.12.05-18.19.00:117][ 96]LogWindows: Error: [Callstack] 0x00007fff581d51db UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
[2018.12.05-18.19.00:117][ 96]LogWindows: Error: [Callstack] 0x00007fff4ab743c9 UE4Editor-VulkanRHI.dll!FVulkanDynamicRHI::RHIRead3DSurfaceFloatData() [d:\build\++ue4\sync\engine\source\runtime\vulkanrhi\private\vulkanrendertarget.cpp:1027]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff6d3e8e4a UE4Editor-RHI.dll!FRHICommandListImmediate::Read3DSurfaceFloatData() [d:\build\++ue4\sync\engine\source\runtime\rhi\public\rhicommandlist.h:3682]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff4e5ef319 UE4Editor-Renderer.dll!FAtmosphericFogSceneInfo::PrecomputeTextures() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\atmosphererendering.cpp:1678]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff4e68d2bd UE4Editor-Renderer.dll!FDeferredShadingSceneRenderer::Render() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:1273]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff4ebb6982 UE4Editor-Renderer.dll!RenderViewFamily_RenderThread() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\scenerendering.cpp:2854]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff4eb88fb2 UE4Editor-Renderer.dll!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`33'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff58061f92 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:665]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff58062456 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:574]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff829775f9 UE4Editor-RenderCore.dll!RenderingThreadMain() [d:\build\++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:333]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff82978574 UE4Editor-RenderCore.dll!FRenderingThread::Run() [d:\build\++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:467]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff584a6b7c UE4Editor-Core.dll!FRunnableThreadWin::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fff584a17c7 UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:33]
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fffa05e1fe4 KERNEL32.DLL!UnknownFunction []
[2018.12.05-18.19.00:118][ 96]LogWindows: Error: [Callstack] 0x00007fffa1c1cb81 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-67234 in the post.

1
Login to Vote

Fixed
ComponentRendering
Affects Versions4.21.14.224.20.3
Target Fix4.21.2
Fix Commit4634420
CreatedDec 5, 2018
ResolvedDec 5, 2018
UpdatedDec 5, 2018