# Lyra \[LyraStarterGame\] RHI DirectX 11 crashing

**URL:** <https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680>\
**Category:** Pipeline & Plugins\
**Tags:** build-error, unreal-engine, crash, LyraStarterGame, bug-report, question\
**Created:** [April 19, 2023, 5:49pm UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680 "2023-04-19T17:49:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deerpfy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deerpfy/32/893165_2.png) [@Deerpfy](https://forums.unrealengine.com/u/Deerpfy)\
**Post date:** [April 19, 2023, 5:49pm UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/1 "2023-04-19T17:49:12Z")

</div>

Hello mates 😉

> I got LyraSampleStarter and I made some changes…with that said I noticed if you set RHI to DirectX 11 it crashes (build). So at this time I could do only DirectX 12, which is little bit nah. Our game project should be even for DirectX 11 only devices portable.

> I mean, there are already some questions about the same topic, but nobody seems to find any way to fix.

Thank you for your answers :3

Feedback from build:

```auto
Assertion failed: !ActivePrecachingTasks.Contains(PrecachePSOHash) [File:D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp] [Line: 942] 

0x00007ff756b37f53 LivingHell.exe!FPrecacheGraphicsPipelineCache::TryAddNewState() []
0x00007ff756b05173 LivingHell.exe!PipelineStateCache::PrecacheGraphicsPipelineState() []
0x00007ff758b10618 LivingHell.exe!PrecachePSOs() []
0x00007ff7586d4017 LivingHell.exe!FMaterialShaderMap::CollectPSOs() []
0x00007ff7586db99c LivingHell.exe!FMaterialPSOPrecacheCollectionTask::DoTask() []
0x00007ff7586e3d2a LivingHell.exe!TGraphTask<FMaterialPSOPrecacheCollectionTask>::ExecuteTask() []
0x00007ff753494a80 LivingHell.exe!<lambda_17c904c32264d0348d15245fba0e1bff>::operator()() []
0x00007ff75349bc13 LivingHell.exe!LowLevelTasks::TTaskDelegate<LowLevelTasks::FTask * ptr64 cdecl(bool),48>::TTaskDelegateImpl<<lambda_17c904c32264d0348d15245fba0e1bff>,0>::CallAndMove() []
0x00007ff7534a8e45 LivingHell.exe!LowLevelTasks::FTask::ExecuteTask() []
0x00007ff7534a8cf2 LivingHell.exe!LowLevelTasks::FScheduler::ExecuteTask() []
0x00007ff75348f438 LivingHell.exe!LowLevelTasks::FScheduler::TryExecuteTaskFrom<&LowLevelTasks::TLocalQueueRegistry<1024>::TLocalQueue::DequeueGlobal,0>() []
0x00007ff7534c9972 LivingHell.exe!LowLevelTasks::FScheduler::WorkerMain() []
0x00007ff75349a880 LivingHell.exe!UE::Core::Private::Function::TFunctionRefCaller<FUniqueBuffer cdecl(unsigned int64),FUniqueBuffer cdecl(unsigned int64)>::Call() []
0x00007ff753609729 LivingHell.exe!FThreadImpl::Run() []
0x00007ff753b3e3b2 LivingHell.exe!FRunnableThreadWin::Run() []
0x00007ff753b361b0 LivingHell.exe!FRunnableThreadWin::GuardedRun() []
0x00007ff87894269d KERNEL32.DLL!UnknownFunction []
0x00007ff878e0a9f8 ntdll.dll!UnknownFunction []

Crash in runnable thread Background Worker #10f

```

My specs:

```auto
GPU: AMD Radeon RX 6800 XT
CPU: AMD Ryzen 7 5700X 8-Core
RAM: 64 GB 3200 Mhz Kingston fury
MB: ASUS TUF GAMING B550 - PLUS

```

---

<div class="post-metadata">

**Author:** ![Deerpfy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deerpfy/32/893165_2.png) [@Deerpfy](https://forums.unrealengine.com/u/Deerpfy)\
**Post date:** [May 1, 2023, 8:43am UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/2 "2023-05-01T08:43:05Z")

</div>

Just found out, that Nanite does not support DirectX 11…

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [May 1, 2023, 9:02am UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/3 "2023-05-01T09:02:04Z")

</div>

Oh, I didn’t know, thanks for letting me know!

Found this on twitter from @StrangerGwenn:

> “Nanite DX11 support is deprecated, and will be deleted in UE 5.1” - things I did not want to read today…"

This technically means that you should be able to use Unreal Engine 5.0.3 to create the project.

---

<div class="post-metadata">

**Author:** ![Deerpfy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deerpfy/32/893165_2.png) [@Deerpfy](https://forums.unrealengine.com/u/Deerpfy)\
**Post date:** [May 1, 2023, 9:05am UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/4 "2023-05-01T09:05:11Z")

</div>

Well, as far I know right now I am trying to do different builds with different settings

For example:

- VULKAN\_RayTracing\_Off
- VULKAN\_RayTracing\_On\_NANITE - Crashes engine
- DirectX11\_RayTracing\_On\_NANITE
- DirectX12\_RayTracing\_Off  
etc…

So I could know what to do next.

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [May 1, 2023, 9:06am UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/5 "2023-05-01T09:06:07Z")

</div>

Without knowing much of the specifics of your project, you should be fine with only DX12. Here is from the [steam hardware survey](https://store.steampowered.com/hwsurvey/videocard/):

| | NOV | DEC | JAN | MAR |
| --- | --- | --- | --- | --- |
| DirectX 12 GPUs | 90.68% | 90.26% | 90.37% | 94.47% |
| DirectX 11 GPUs | 1.61% | 1.65% | 1.66% | 0.85% |
| DirectX 10 GPUs | 0.94% | 0.96% | 0.95% | 0.51% |
| DX 9 Shader Model 2b and 3.0 GPUs | 0.02% | 0.02% | 0.02% | 0.01% |
| DX 9 Shader Model 2.0 GPUs | 0.00% | 0.00% | 0.00% | 0.00% |
| DirectX 8 GPUs and below | 6.75% | 7.11% | 7.00% | 4.16% |

---

<div class="post-metadata">

**Author:** ![Deerpfy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deerpfy/32/893165_2.png) [@Deerpfy](https://forums.unrealengine.com/u/Deerpfy)\
**Post date:** [May 1, 2023, 9:07am UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/6 "2023-05-01T09:07:04Z")

</div>

Ohh okay, thank you for these hardware survey. I will let you know if I found out something good to fix it or atleast make it work 😃

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [May 1, 2023, 9:19am UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/7 "2023-05-01T09:19:23Z")

</div>

Sounds great! Best of luck with your project!

---

<div class="post-metadata">

**Author:** ![cailumhuang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cailumhuang](https://forums.unrealengine.com/u/cailumhuang)\
**Post date:** [June 4, 2023, 10:41pm UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/8 "2023-06-04T22:41:01Z")

</div>

Sorry to disturb. Have you found the solution to run Lyra build with d3d11?

---

<div class="post-metadata">

**Author:** ![Deerpfy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deerpfy/32/893165_2.png) [@Deerpfy](https://forums.unrealengine.com/u/Deerpfy)\
**Post date:** [July 15, 2023, 11:17pm UTC](https://forums.unrealengine.com/t/lyra-lyrastartergame-rhi-directx-11-crashing/1133680/9 "2023-07-15T23:17:51Z")

</div>

Hi…not at all.  
I did one thing and thats = remove Lyra completely (like new project without Lyra)
