Hi!
Thank you for reaching out to help me with this problem.
The issue is that the app crashes during deinitialization, so nothing appears in the log file(but app shutdowns with delay even in yuor case, due to the Windows Error Reporting and you can see WER interraction in the Process Monitor for example).
[Image Removed]
If you have Visual Studio, the easiest way to reproduce the problem is to run the app with the debugger.
Alternatively, we can track the exit code of the app. Under normal conditions, the exit code should be 0; however, in the event of a crash, it will be non-zero.
To run this, use the following PowerShell snippet (adjust the exePath as needed and paste it into the PowerShell console):
`# Define the path to the Unreal application executable (Put your path here).
$exePath = “.\Windows\SampleApp\Binaries\Win64\SampleApp-Win64-DebugGame.exe”
Set the command-line arguments for the executable.
$arguments = “-run=HelloWorld”
Launch the process with the specified executable and arguments.
- Waits for the process to complete.
- -PassThru returns a process object containing information (including the exit code).
$process = Start-Process -FilePath $exePath -ArgumentList $arguments -Wait -PassThru
Output the exit code of the process to the console.
Write-Host “Process Exit Code: $($process.ExitCode)”`In my case, the output is:
Process Exit Code: -1073741819
Thanks,
Serhii