Files
UnrealEngineUWP/Engine/Source/Developer/Virtualization/Public
paul chipchase c1e728c293 Prevent the VA error dialogs from being shown if the code is being run in a scenario where a user will not be present.
#rb Martin Ridgers
#jira UE-191791
#rnx

- Add a new ::IsProcessInteractive function to UE::Virtualization::Utils namespace that will return true if we think the current process is being run in a scenario where a user will be present and that it is okay to show an interactive error dialog.
- Use this new check to make sure that we do not try to display the "connection error" dialog on start up (even though as a slate dialog this will usually fail to display in non-interactive scenarios anyway)
- Use the new check to avoid displaying the "payload pull failure" dialog and default to the process shutting down instead.
-- Added some code comments to explain why we force the process to exit rather than logging a fatal error.

[CL 28183133 by paul chipchase in ue5-main branch]
2023-09-25 06:48:33 -04:00
..