Crash on rendering thread

When I close game using “Quit Game” BP function. For some reason app is crashing with following stack trace:

[2019.07.20-19.50.05:898][153]Closing by request
[2019.07.20-19.50.05:898][153]LogWindows: FPlatformMisc::RequestExit(0)
[2019.07.20-19.50.05:910][154]LogAudioMixer: Display: No commands were queued while flushing the source manager.
[2019.07.20-19.50.06:693][154]LogSlate: Request Window 'MyGame (64-bit Development PCD3D_SM5) ' being destroyed
[2019.07.20-19.50.06:721][154]LogSlate: Window 'MyGame (64-bit Development PCD3D_SM5) ' being destroyed
[2019.07.20-19.50.07:369][154]LogWindows: Warning: CreateProc failed: ... (0x00000002)
[2019.07.20-19.50.07:369][154]LogWindows: Warning: URL: ../../../Engine/Binaries/Win64/CrashReportClient.exe "C:/MyGame/Saved/StagedBuilds/WindowsNoEditor/MyGame/Saved/Crashes/UE4CC-Windows-5263536345368C2873B3E6B2734F8B1C_0000" -AppName=UE4-MyGame -CrashGUID=UE4CC-Windows-5263536345368C2873B3E6B2734F8B1C_0000 -DebugSymbols=..\..\..\Engine\Intermediate\Symbols
[2019.07.20-19.50.07:369][154]LogWindows: Could not start CrashReportClient.exe
[2019.07.20-19.50.07:369][154]LogMemory: Platform Memory Stats for WindowsNoEditor
[2019.07.20-19.50.07:369][154]LogMemory: Process Physical Memory: 500.56 MB used, 771.82 MB peak
[2019.07.20-19.50.07:369][154]LogMemory: Process Virtual Memory: 2141.77 MB used, 3216.05 MB peak
[2019.07.20-19.50.07:369][154]LogMemory: Physical Memory: 4572.90 MB used,  28107.36 MB free, 32680.26 MB total
[2019.07.20-19.50.07:369][154]LogMemory: Virtual Memory: 6954.75 MB used,  134210776.00 MB free, 134217728.00 MB total
[2019.07.20-19.50.10:150][154]LogOutputDevice: Warning: 

Script Stack (0 frames):

[2019.07.20-19.50.10:150][154]LogWindows: Windows GetLastError: ... (0)
[2019.07.20-19.50.10:150][154]LogWindows: Error: === Critical error: ===
[2019.07.20-19.50.10:150][154]LogWindows: Error: 
[2019.07.20-19.50.10:150][154]LogWindows: Error: Fatal error: [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 819] 
[2019.07.20-19.50.10:150][154]LogWindows: Error: Rendering thread exception:
[2019.07.20-19.50.10:150][154]LogWindows: Error: Fatal error!
[2019.07.20-19.50.10:150][154]LogWindows: Error: 
[2019.07.20-19.50.10:150][154]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000
[2019.07.20-19.50.10:150][154]LogWindows: Error: 
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68cf0fa08 LavConfig_ClearUp01.exe!FD3D11Viewport::~FD3D11Viewport() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68cf11f94 LavConfig_ClearUp01.exe!FD3D11Viewport::`scalar deleting destructor'() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68dc8cefb LavConfig_ClearUp01.exe!TRefCountPtr<FRHIViewport>::operator=() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68d99d92a LavConfig_ClearUp01.exe!FRenderResource::ReleaseResource() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68d9d4085 LavConfig_ClearUp01.exe!TGraphTask<TEnqueueUniqueRenderCommandType<`FConsoleRenderThreadPropagation::OnCVarChange'::`2'::OnCVarChange3Name,<lambda_724a190b08e81e4b8c9d5f464cf2cca2> > >::ExecuteTask() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68c16f44d LavConfig_ClearUp01.exe!FNamedTaskThread::ProcessTasksNamedThread() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68c16f6a3 LavConfig_ClearUp01.exe!FNamedTaskThread::ProcessTasksUntilQuit() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68d9f6204 LavConfig_ClearUp01.exe!RenderingThreadMain() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68d9f984f LavConfig_ClearUp01.exe!FRenderingThread::Run() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68c51fa0f LavConfig_ClearUp01.exe!FRunnableThreadWin::Run() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ff68c51b817 LavConfig_ClearUp01.exe!FRunnableThreadWin::GuardedRun() []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ffb2e2d4034 KERNEL32.DLL!UnknownFunction []
[2019.07.20-19.50.10:150][154]LogWindows: Error: [Callstack] 0x00007ffb2fd73691 ntdll.dll!UnknownFunction []
[2019.07.20-19.50.10:150][154]LogWindows: Error: 
[2019.07.20-19.50.10:150][154]LogWindows: Error: 
[2019.07.20-19.50.10:150][154]LogWindows: Error: 
[2019.07.20-19.50.10:150][154]LogWindows: Error: 
[2019.07.20-19.50.10:160][154]LogExit: Executing StaticShutdownAfterError
[2019.07.20-19.50.10:163][154]LogWindows: FPlatformMisc::RequestExit(1)
[2019.07.20-19.50.10:175][154]Log file closed, 07/20/19 22:50:10

Any ideas why this could happen?

Update.

This crash look very close to following issue UE-75386. When I run application without “RenderOffScreen” flag I don’t get that crash.

have the same problem even with a new template project.