# Assertion failed when create VR template on linux

**URL:** <https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156>\
**Category:** Getting Started & Setup\
**Tags:** vulkan, Linux, unreal-engine, crash, question\
**Created:** [January 26, 2025, 2:20pm UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156 "2025-01-26T14:20:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PojiloyGolem4ik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PojiloyGolem4ik](https://forums.unrealengine.com/u/PojiloyGolem4ik)\
**Post date:** [January 26, 2025, 2:20pm UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156/1 "2025-01-26T14:20:13Z")

</div>

Hello everyone, I worked with UE 5.4.0\5.5.0 I get that crash when try to create or open VR template on many machines. It neither depends on GPU (Tried 7900XTX, RTX 3060, RTX A2000 ADA, RTX4000 ADA, AMD M780) with different driver versions. All that system similarities was OS: Endeavour OS with 6.12 (6.6 also) kernel, but I tried do it also on Debian (6.1 and 6.6 kernels) and stuck again with that problem.

Other project templates works fine

I also compiled engine by myself from github source and few times used pre-compiled versions from epic games linux page. Still the same…

Nvidia drivers tested: 540, 565  
Amd drivers: mesa, amdvlk, vulkan-radeon (all latest from pacman and AUR)

```auto
Assertion failed: !bUseBindless [File:./Runtime/VulkanRHI/Private/VulkanPipelineState.h] [Line: 69] 

libUnrealEditor-VulkanRHI.so!FVulkanCommonPipelineDescriptorState::SetTexture(unsigned char, unsigned int, FVulkanTexture const*, VkImageLayout) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanPipelineState.h:69]
libUnrealEditor-VulkanRHI.so!FVulkanCommandListContext::RHISetShaderTexture(FRHIGraphicsShader*, unsigned int, FRHITexture*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanPendingState.h:243]
libUnrealEditor-VulkanRHI.so!void UE::RHICore::RHISetShaderParametersShared<FVulkanCommandListContext, FRHIGraphicsShader>(FVulkanCommandListContext&, FRHIGraphicsShader*, TArrayView<unsigned char const, int>, TArrayView<FRHIShaderParameter const, int>, TArrayView<FRHIShaderParameterResource const, int>, TArrayView<FRHIShaderParameterResource const, int>, bool) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/RHICore/Internal/RHIShaderParametersShared.h:95]
libUnrealEditor-VulkanRHI.so!FVulkanCommandListContext::RHISetShaderParameters(FRHIGraphicsShader*, TArrayView<unsigned char const, int>, TArrayView<FRHIShaderParameter const, int>, TArrayView<FRHIShaderParameterResource const, int>, TArrayView<FRHIShaderParameterResource const, int>) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanCommands.cpp:448]
libUnrealEditor-RHI.so!FRHICommandSetShaderParameters<FRHIGraphicsShader>::Execute(FRHICommandListBase&) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/RHI/Public/RHICommandListCommandExecutes.inl:129]
libUnrealEditor-Engine.so!FRHICommand<FRHICommandSetShaderParameters<FRHIGraphicsShader>, FRHICommandSetShaderParametersString1640>::ExecuteAndDestruct(FRHICommandListBase&) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/RHI/Public/RHICommandList.h:1471]
libUnrealEditor-RHI.so!FRHICommandListBase::Execute() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RHI/Private/RHICommandList.cpp:429]
libUnrealEditor-RHI.so!FRHICommandListExecutor::FTranslateState::Translate(FRHICommandListBase*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RHI/Private/RHICommandList.cpp:902]
libUnrealEditor-RHI.so!UE::Core::Private::Function::TFunctionRefCaller<FRHICommandListExecutor::FSubmitState::Dispatch(FRHICommandListBase*)::$_0, void>::Call(void*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RHI/Private/RHICommandList.cpp:871]
libUnrealEditor-RHI.so!FRHICommandListExecutor::FTaskPipe::Execute(FRHICommandListExecutor::FTaskPipe::FTask*, TRefCountPtr<FBaseGraphTask> const&) const [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Public/Templates/Function.h:470]
libUnrealEditor-Core.so!TGraphTask<TFunctionGraphTaskImpl<void (ENamedThreads::Type, TRefCountPtr<FBaseGraphTask> const&), (ESubsequentsMode::Type)0> >::ExecuteTask() [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Public/Templates/Function.h:470]
libUnrealEditor-Core.so!UE::Tasks::Private::FTaskBase::TryExecuteTask() [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h:504]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:482]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:667]
libUnrealEditor-RenderCore.so!FRHIThread::Run() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:269]
libUnrealEditor-Core.so!FRunnableThreadPThread::Run() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
libUnrealEditor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:187]
libc.so.6!UnknownFunction(0x942cd)
libc.so.6!UnknownFunction(0x11929b)

```

---

<div class="post-metadata">

**Author:** ![Klejs23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Klejs23](https://forums.unrealengine.com/u/Klejs23)\
**Post date:** [February 5, 2025, 2:19pm UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156/2 "2025-02-05T14:19:40Z")

</div>

I’m getting the same error on 3080ti/4.6.0 NVIDIA 550.144.03/Manjaro

---

<div class="post-metadata">

**Author:** ![StapledBattery](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StapledBattery](https://forums.unrealengine.com/u/StapledBattery)\
**Post date:** [February 21, 2025, 12:16am UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156/3 "2025-02-21T00:16:38Z")

</div>

I’m getting the same error. However, it’s nothing to do with VR for me - it happens when I try to enable MSAA with SM6 forward rendering.

3050ti, driver version 545, Debian

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [February 21, 2025, 2:26pm UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156/4 "2025-02-21T14:26:47Z")

</div>

Hi @PojiloyGolem4ik  
Hi @Klejs23  
Hi @StapledBattery

Do you Know what Bindless is?

```auto
	FVulkanCommonPipelineDescriptorState(FVulkanDevice* InDevice)
		: VulkanRHI::FDeviceChild(InDevice)
		, bUseBindless(InDevice->SupportsBindless())
	{
	}

```

Because you need bUseBindless to be true (I think)

```auto
	inline void SetTexture(uint8 DescriptorSet, uint32 BindingIndex, const FVulkanTexture* Texture, VkImageLayout Layout)
	{
		check(!bUseBindless);
		check(Texture && Texture->PartialView);

		// If the texture doesnt support sampling, then we read it through a UAV
		if (Texture->SupportsSampling())
		{
			MarkDirty(DSWriter[DescriptorSet].WriteImage(BindingIndex, Texture->PartialView->GetTextureView(), Layout));
		}
		else
		{
			MarkDirty(DSWriter[DescriptorSet].WriteStorageImage(BindingIndex, Texture->PartialView->GetTextureView(), Layout));
		}
	}

```

Read this… maybe help somethig

> [@Vulkan ray tracing pipelines are only supported in bindless.](https://forums.unrealengine.com/t/vulkan-ray-tracing-pipelines-are-only-supported-in-bindless/2188899):
>
> I am on Ubuntu 22.04 with Unreal 5.5 and nvidia 550 This describes the setup for Vulkan under Linux. I changed accordingly: Engine/Config/VulkanPC/DataDrivenPlatformInfo.ini Engine/Config/Linux/BaseLinuxEngine.ini This error is thrown: [2024.12.09-15.38.18:632][0]LoadingProfiler: OnSessionChanged [2024.12.09-15.38.18:632][0]LogNetworkingProfiler: Initialize [2024.12.09-15.38.18:632][0]LogNetworkingProfiler: OnSessionChanged [2024.12.09-15.38.18:632][0]LogMemoryProfiler: Initialize…

this look good… you can try

`VulkanPC/DataDrivenPlatformInfo.ini`

```auto

[ShaderPlatform VULKAN_SM6]
bSupportsRayTracingShaders = true
bSupportsPathTracing = true
bSupportsRayTracingCallableShaders = true
bSupportsRayTracingProceduralPrimitive = true
BindlessSupport=RayTracingOnly ---> `BindlessSupport=AllShaderTypes`
Language=Vulkan
MaxFeatureLevel=SM6
ShaderFormat=SF_VULKAN_SM6

```

Best Regards!!

---

<div class="post-metadata">

**Author:** ![LeMackou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LeMackou](https://forums.unrealengine.com/u/LeMackou)\
**Post date:** [February 26, 2025, 6:22pm UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156/5 "2025-02-26T18:22:15Z")

</div>

I encounter the same issue, tried on several computers with AMD and NVidia GPUs.

@Ivan3z none of these help.  
Using `SF_VULKAN_SM5` instead of `SF_VULKAN_SM6` works, but its not a good solution.

What could be done to get it to work ?

Thanks !

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [February 26, 2025, 6:56pm UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156/6 "2025-02-26T18:56:56Z")

</div>

Hi @LeMackou  
I’m sorry… i’m not in linux… i just see the Engine Source Code and Shearched a little in Google.

But i’m sure the problem is related to Bindless

I think it could be:  
-A option disable in the graphics cart driver  
-Or in the Engine configuration.  
-Or in Vulcan configuration itself

An other less probable option could be the linux kernel  
I remember once i have to compile the linux kerner by hand (a lot of yeras ago)  
I need it for games and edit music (i was needing a kerner multimedia with high frequency if i remember well).

Linux is like so… or it was!!

* * *

EDITED:

* * *

> [@LeMackou](#):
>
> Using `SF_VULKAN_SM5` instead of `SF_VULKAN_SM6` works, but its not a good solution.

With Windows the problems with SM5 and SM6 are related with Direct X

SM5 → Better with direct X 11  
SM6 → Better with direct X 12

Maybe there is something equivalent in linux?

just an idea!!

---

<div class="post-metadata">

**Author:** ![quatrecentquatre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@quatrecentquatre](https://forums.unrealengine.com/u/quatrecentquatre)\
**Post date:** [March 23, 2025, 9:11pm UTC](https://forums.unrealengine.com/t/assertion-failed-when-create-vr-template-on-linux/2304156/7 "2025-03-23T21:11:45Z")

</div>

Hi, I have the same error with the VR template on Ubuntu 24.04, rtx3080, driver version 550.

I encountered this issue with versions 5.5.1 and 5.5.4 of Unreal Engine, but It works well with the version 5.4.4 of Unreal Engine
