Files
UnrealEngineUWP/Engine/Source/Developer/Virtualization
paul chipchase cffa31070e Allow the VA failed payload pull dialog to be displayed if the pull occurred when generating content browser thumbnails.
#rb Per.Larsson
#rnx

- When generating content browser thumnails GIsRunningUnattendedScript will be set to true which prevents us from showing the VA payload pull failed dialog, so if a payload does fail during thumbnail generation the process will just terminate rather than asking the user if they would like to retry the operation.
- We no longer consider 'GIsRunningUnattendedScript' when checking if the process is interactive.
- If the dialog is being displayed from the GameThread we can force GIsRunningUnattendedScript to false safely allowing the dialog to be displayed. If we fail a payload pull on a background thread while the GameThread is generating a thumbnail we will not be able to safely change GIsRunningUnattendedScript (which does not have proper thread guarding) so we will just have to accept that the dialog will fail to show and the process will terminate.

[CL 29747059 by paul chipchase in ue5-main branch]
2023-11-15 10:51:51 -05:00
..