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

**URL:** <https://forums.unrealengine.com/t/ray-tracing-does-not-work-in-ue5-1-preview-2-on-laptop-rtx3080-and-give-crash/686691>\
**Category:** Feedback & Requests\
**Tags:** error, unreal-engine, crash, bug-report, question\
**Created:** [November 8, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/ray-tracing-does-not-work-in-ue5-1-preview-2-on-laptop-rtx3080-and-give-crash/686691 "2022-11-08T15:03:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cortek1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cortek1/32/582975_2.png) [@cortek1](https://forums.unrealengine.com/u/cortek1)\
**Post date:** [November 8, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/ray-tracing-does-not-work-in-ue5-1-preview-2-on-laptop-rtx3080-and-give-crash/686691/1 "2022-11-08T15:03:44Z")

</div>

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.

```auto
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 ?

---

<div class="post-metadata">

**Author:** ![Andrej730](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/andrej730/32/1194692_2.png) [@Andrej730](https://forums.unrealengine.com/u/Andrej730)\
**Post date:** [November 8, 2022, 3:11pm UTC](https://forums.unrealengine.com/t/ray-tracing-does-not-work-in-ue5-1-preview-2-on-laptop-rtx3080-and-give-crash/686691/2 "2022-11-08T15:11:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cortek1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cortek1/32/582975_2.png) [@cortek1](https://forums.unrealengine.com/u/cortek1)\
**Post date:** [November 9, 2022, 7:52pm UTC](https://forums.unrealengine.com/t/ray-tracing-does-not-work-in-ue5-1-preview-2-on-laptop-rtx3080-and-give-crash/686691/3 "2022-11-09T19:52:36Z")

</div>

Bump ☹

---

<div class="post-metadata">

**Author:** ![cortek1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cortek1/32/582975_2.png) [@cortek1](https://forums.unrealengine.com/u/cortek1)\
**Post date:** [November 11, 2022, 3:27pm UTC](https://forums.unrealengine.com/t/ray-tracing-does-not-work-in-ue5-1-preview-2-on-laptop-rtx3080-and-give-crash/686691/4 "2022-11-11T15:27:45Z")

</div>

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 !
