Description

It seems to be occurred when exiting fullscreen exclusive mode during the PSO build.
And it seems to happen during the loading screen as well as the PSO build.

What I suspect is that when focus loss has occurred, the loading screen tick continues on the render thread until the engine handles device lost.

For example, UpdateFullscreenState() and ResizeViewport() in FSceneViewport::ResizeFrame() would have to be handled earlier, but it crashed before then that.

In other words, render thread suspended in FSceneViewport::UpdateViewportRHI(), but it crashed by executing RHI commands in the render thread before it is suspended.

Steps to Reproduce

1. create shootergame project with UE 4.25.3
2. overwrite attached ini files to Config folder
3. package windows x64 build
4. run shootergame with commandline arguments "-dx12 -log -messaging"
5. repeat alt+tab during gameplay for PSO build

Have Comments or More Details?

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

2
Login to Vote

Fixed
ComponentRendering
Affects Versions4.25.3
Target Fix4.26
Fix Commit14386065
Release Commit14386065
CreatedSep 22, 2020
ResolvedSep 24, 2020
UpdatedJul 22, 2021