Description

I managed to reproduce this crash either using CineCameraActors or CameraActors, with a variety of DOF settings. It seems that piloting the camera and having any kind of DOF active on the camera will result in the crash.

 

The error message is:

Assertion failed: Inputs.SceneColor.ViewRect == Inputs.SceneDepth.ViewRect [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\PostProcess\PostProcessBokehDOF.cpp] [Line: 40] VisualizeDOF requires that the scene and depth view rects match.
Steps to Reproduce
  1. Create a new, blank project in UE5\Release-5.0
  2. In the Basic level create a Camera Actor
  3. Pilot the Camera Actor
  4. In the camera actor's postprocess settings change the Focal Distance to 500, the Depth Blur km at 50% to .5 and the Depth Blur Radius to 500
  5. Active the Show > Visualize > DOF Layers visualization
  6. The editor should now crash
Callstack

UnrealEditor_Renderer!AddVisualizeDOFPass()
UnrealEditor_Renderer!AddPostProcessingPasses()
UnrealEditor_Renderer!FDeferredShadingSceneRenderer::Render()
UnrealEditor_Renderer!FSceneRenderer::RenderThreadEnd()
UnrealEditor_Renderer!TStaticArray<FIntVector4,32,16>::TArrayStorage::operator=()
UnrealEditor_Renderer!FSceneRenderer::DoOcclusionQueries()
UnrealEditor_Renderer!TBaseStaticDelegateInstance<void __cdecl(wchar_t const * __ptr64,IConsoleObject * __ptr64),FDefaultDelegateUserPolicy,unsigned int & __ptr64>::ExecuteIfSafe()
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread()
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit()
UnrealEditor_Core!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn()
UnrealEditor_RenderCore!RenderingThreadMain()
UnrealEditor_RenderCore!FRenderingThread::Run()
UnrealEditor_Core!FRunnableThreadWin::Run()

Have Comments or More Details?

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

18
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions5.05.1
Target Fix5.2
Fix Commit24805369
CreatedMar 30, 2022
ResolvedMar 27, 2023
UpdatedMar 27, 2023
View Jira Issue