Community Tutorial: How to Create a Custom Ray Tracing Shader as a Plugin

If it’s crashing on startup in PIE, then you need to delay the initialization a little. In the guide, it delays for one second, but you may need to delay a little longer depending on your system.

It doesn’t crash in stand-alone, but you still need to delay the initialization a bit on a stand-alone. For me, I just delayed 0.1 seconds and that was enough.