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

**URL:** <https://forums.unrealengine.com/t/community-tutorial-how-to-create-a-custom-ray-tracing-shader-as-a-plugin/1139396>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [April 24, 2023, 3:01pm UTC](https://forums.unrealengine.com/t/community-tutorial-how-to-create-a-custom-ray-tracing-shader-as-a-plugin/1139396 "2023-04-24T15:01:33Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![T.Ashby-CPP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@T.Ashby-CPP](https://forums.unrealengine.com/u/T.Ashby-CPP)\
**Post date:** [March 21, 2024, 8:30pm UTC](https://forums.unrealengine.com/t/community-tutorial-how-to-create-a-custom-ray-tracing-shader-as-a-plugin/1139396/14 "2024-03-21T20:30:36Z")

</div>

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.

---

_[View the full topic](https://forums.unrealengine.com/t/community-tutorial-how-to-create-a-custom-ray-tracing-shader-as-a-plugin/1139396)._
