Ray tracing does not work in UE5.1 Preview 2 on laptop RTX3080 and give crash

Good afternoon everyone.
Ray tracing doesnt work in “ue5.1 preview 2” on my 3080 laptop.
In ue4.27 and ue5.0 everything works fine.
I turn on in the project settings all the corresponding ray tracing checkboxes and choose dx12.
But in all light sources, I do not have the opportunity to select ray tracing for soft shadows. Reflections and the rest don’t work either.
When I exit from engine, I get a stable crash.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000000a8

UnrealEditor_D3D12RHI!FD3D12MultiBuddyAllocator::ReleaseAllResources() [D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Allocation.cpp:784]
UnrealEditor_D3D12RHI!FD3D12Adapter::~FD3D12Adapter() [D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Adapter.cpp:1336]
UnrealEditor_D3D12RHI!FWindowsD3D12Adapter::`scalar deleting destructor'()
UnrealEditor_D3D12RHI!TArray<TSharedPtr<FD3D12Adapter,1>,TSizedDefaultAllocator<32> >::~TArray<TSharedPtr<FD3D12Adapter,1>,TSizedDefaultAllocator<32> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h:649]
UnrealEditor_D3D12RHI!FD3D12DynamicRHIModule::`scalar deleting destructor'()
UnrealEditor_Core!FModuleManager::UnloadModulesAtShutdown() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:816]
UnrealEditor!FEngineLoop::Exit() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4646]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:216]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:282]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Moreover, it gives out a crash at the exit from the engine.
What could be the problem ?

Have the similar issue on RTX3080. What I’ve also noticed is that when you start UE5.1 in log you can find “LogRHI: D3D12 is not supported, falling back to D3D11 with Feature Level SM5”. So, for some reason Unreal thinks DX12 is not support on my videocard and it goes to DX11.

Bump :frowning:

Found a solution! I had Windows 10 LTSC v1809. And I decided to try to put a new Windows 10 LTSC 21H2. After that the problem disappeared !

1 Like