I followed the tutorial How to Create a Custom Ray Tracing Shader as a Plugin | Epic Developer Community and made it with Direct12 with UE5.3.2 and UE5.4.4.
But when I change the rendering platform as Vulkan_SM6(still on Windows), an assertion failure took place while running Execute_RenderThread()(maybe the first time run into):
Assertion failed: Shader.IsValid() [File:D:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\RenderCore\Public\GlobalShader.h] [Line: 211]
Failed to find shader type FLidarRayTracingRGS in Platform SF_VULKAN_SM6
where FLidarRayTracingRGS is one of the custom ray tracing shaders
I have no idea why that happned. Although I have noticed the tutorial indeed refers to Direct API rather than Vulkan, I want to run the shader then on Linux, so I want to try with Vulkan on Windows firstly.
Does anyone have experience about the problem?