# Can't open a particle system in Vulkan RHI

**URL:** <https://forums.unrealengine.com/t/cant-open-a-particle-system-in-vulkan-rhi/2434564>\
**Category:** Blueprint\
**Tags:** vulkan, unreal-engine, crash, editor, Rendering, CPP, question\
**Created:** [April 1, 2025, 2:10pm UTC](https://forums.unrealengine.com/t/cant-open-a-particle-system-in-vulkan-rhi/2434564 "2025-04-01T14:10:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nechalon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nechalon/32/967402_2.png) [@Nechalon](https://forums.unrealengine.com/u/Nechalon)\
**Post date:** [April 1, 2025, 2:10pm UTC](https://forums.unrealengine.com/t/cant-open-a-particle-system-in-vulkan-rhi/2434564/1 "2025-04-01T14:10:41Z")

</div>

When trying to open up the cascade Particle System Editor in Vulkan RHI, it simply crashes in the following file:

`VulkanDescriptorSets.h`

```auto
template <VkDescriptorType DescriptorType>
	bool WriteTextureView(uint32 DescriptorIndex, const FVulkanTextureView& TextureView, VkImageLayout Layout)
	{
		check(DescriptorIndex < NumWrites);
		SetWritten(DescriptorIndex);
		if (DescriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE)
		{
			check(WriteDescriptors[DescriptorIndex].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE || WriteDescriptors[DescriptorIndex].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER);
			ensureMsgf(Layout == VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR ||
				  Layout == VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL ||
				  Layout == VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL ||
				  Layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL || 
				  Layout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL ||
				  Layout == VK_IMAGE_LAYOUT_GENERAL, TEXT("Invalid Layout %d, Index %d, Type %d\n"), Layout, DescriptorIndex, WriteDescriptors[DescriptorIndex].descriptorType);
		}
		else
		{
			check(WriteDescriptors[DescriptorIndex].descriptorType == DescriptorType);
		}
		VkDescriptorImageInfo* ImageInfo = const_cast<VkDescriptorImageInfo*>(WriteDescriptors[DescriptorIndex].pImageInfo);
		check(ImageInfo);
...

```

It crashes at the line `ensureMsgf(Layout == VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR ||`.

With other RHIs it doesnt crash, so its possible to completely develop in anything but Vulkan, then release with Vulkan (also to test) and everything will work, but you wouldnt be able to open the particle systems in vulkan.

Engine version I used here is UE4.27.2 Source build.
