# Apex Destruction not working with Raytracing enabled

**URL:** <https://forums.unrealengine.com/t/apex-destruction-not-working-with-raytracing-enabled/664735>\
**Category:** Rendering\
**Tags:** Raytracing, unreal-engine, Rendering, question, UE4-27\
**Created:** [October 8, 2022, 2:19am UTC](https://forums.unrealengine.com/t/apex-destruction-not-working-with-raytracing-enabled/664735 "2022-10-08T02:19:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Owl\_Theory](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Owl\_Theory](https://forums.unrealengine.com/u/Owl_Theory)\
**Post date:** [October 10, 2022, 8:44pm UTC](https://forums.unrealengine.com/t/apex-destruction-not-working-with-raytracing-enabled/664735/2 "2022-10-10T20:44:58Z")

</div>

If you add this to the bottom of UDestructibleComponent::SetDestructibleMesh(), it solves this issue:

```auto
if (SkeletalMesh) 
{ 
SetCPUSkinningEnabled(true);
}

```

---

_[View the full topic](https://forums.unrealengine.com/t/apex-destruction-not-working-with-raytracing-enabled/664735)._
