# Ghost collision bug

**URL:** <https://forums.unrealengine.com/t/ghost-collision-bug/371755>\
**Category:** World Creation\
**Tags:** child-actors, unreal-engine, Collision, glitch, bug-report, question\
**Created:** [September 27, 2016, 1:19pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755 "2016-09-27T13:19:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [September 27, 2016, 1:19pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/1 "2016-09-27T13:19:02Z")

</div>

I’m getting a bug where a collision gets traced that does not exist there. The ghost collision does not show up with show collision and the actor of that collision is placed elsewhere but it gets traced in that location where it is not located.  
This is a welded child actor and it happens randomly with one of the child actors. That ghost collision seems to be stuck for forever, moving the actor of which the ghost collision is from does not move the ghost collision. The actor which has that ghost collision can still be traced normally and move normally, so it has 2 collisions, the regular collision and the stuck ghost collision. The ghost collision is also colliding with physics.

I think it is related to the attaching and welding of child actor collisions of which a bug has been fixed in 4.13 which might now created this new bug instead of it.  
Here are my posts related to that bug:

> **[Heavy performance killing bug with physics](https://forums.unrealengine.com/questions/425017/heavy-performance-killing-bug-with-physics.html)**
>
> It appears this bug can reduce the framerate to 0fps! I'm using a physics handle for grabbing objects and throwing them. These objects consists of actors which have just simple box collisions that are welded together. So like ca 10 box actors welded...

> **[Physics Handle is broken](https://forums.unrealengine.com/questions/352397/physics-handle-is-broken.html)**
>
> The component Physics Handle is hardly use able in its current state: Set Target Rotation doesn’t seem to do anything, the grabbed component will always spin around no matter what you do. When you try to force it to rotate with the player the result...

It would be much appreciated if this can be fixed in a new 4.13 version since I would really like to get this working after all this time and this bug is much more game breaking then the last one.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 27, 2016, 1:58pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/2 "2016-09-27T13:58:44Z")

</div>

Hi ,

- Does this occur in a clean, blank project with no additional content or is it limited to one project?
- What steps can I take to reproduce this on my end?
- Have you tried building your level to see if the collision is still there after?

---

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [September 27, 2016, 2:39pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/3 "2016-09-27T14:39:20Z")

</div>

I’m not sure how to recreate it, it also appears rather randomly. It is happening with moveable actors that are spawned so it can not have anything do with building the level. I also displayed the name of the child actor of which the ghost collision is traced.

Assuming it is related to that last bug this will likely recreate it: spawn actors which have a collision, attach weld several of those actors to one of the actors and simulate physics. Turn physics off again after some delay and detach some random actors. Attach weld some random actors to a new parent actor and repeat the steps. You might also need to make actor which was once a parent actor a child actor of another actor.  
Since it is a ghost collision and it seems happening randomly it will be hard to catch, might want to make a trace under the mouse and check if you can find a ghost collision somewhere with printing the traced actor.

I would check with Machina.Widmo of your staff first though if he has more insight.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 27, 2016, 7:13pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/4 "2016-09-27T19:13:45Z")

</div>

Unfortunately I’m not certain the two problems are directly connected, it would be best to handle this as an individual occurrence for now. Do you have a sample project this is occurring in? I’ll be happy to take a look at it if you don’t have any steps I can take to recreate this on my end.

---

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [September 29, 2016, 1:06pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/5 "2016-09-29T13:06:44Z")

</div>

Well, it seems to be connected to attaching/detaching since it seems to happen when that is done and it would make sense as far as ghost collisions make sense: like when a actor gets attached welded it leaves its collision behind somehow while it then uses that welded collision of its new parent actor. I will test it some more, maybe I can find out more exactly when it is happening. Right now I would not be able to recreate it better as I described. Sending you the whole project would over complicate things since it is already a pretty complex and you would have a very hard time finding the logic that is related to the bug

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 30, 2016, 1:26pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/6 "2016-09-30T13:26:39Z")

</div>

Can you show me screenshots of your setup specifically with the actors this is affecting? I haven’t been able to reproduce this error on my end thus far.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [October 4, 2016, 1:28pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/7 "2016-10-04T13:28:25Z")

</div>

Hi ,

We have not heard from you in several days. I am marking this as answered for tracking purposes, if you are still experiencing this error, please comment with the requested information.

---

<div class="post-metadata">

**Author:** ![where44444](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@where44444](https://forums.unrealengine.com/u/where44444)\
**Post date:** [July 6, 2022, 3:56am UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/8 "2022-07-06T03:56:10Z")

</div>

Did you ever figure this out? I’m having the exact same problem right now with line trace hitting a ghost collision box on an attached actor.

---

<div class="post-metadata">

**Author:** ![where44444](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@where44444](https://forums.unrealengine.com/u/where44444)\
**Post date:** [July 6, 2022, 4:43am UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/9 "2022-07-06T04:43:54Z")

</div>

I actually just found a workaround, on the child actor, in the static mesh data, set Collision Complexity to “Use Simple Collision as Complex”

---

<div class="post-metadata">

**Author:** ![where44444](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@where44444](https://forums.unrealengine.com/u/where44444)\
**Post date:** [September 12, 2022, 1:48am UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/10 "2022-09-12T01:48:57Z")

</div>

In case this happens to anyone with a moving skeletal mesh, I forgot I was setting an optimization

KinematicBonesUpdateType = EKinematicBonesUpdateToPhysics::SkipAllBones;  
bSkipBoundsUpdateWhenInterpolating = true;

These options can also be found in the skeletal mesh components details pane.

---

<div class="post-metadata">

**Author:** ![Kartaply](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kartaply](https://forums.unrealengine.com/u/Kartaply)\
**Post date:** [December 29, 2024, 12:06pm UTC](https://forums.unrealengine.com/t/ghost-collision-bug/371755/11 "2024-12-29T12:06:31Z")

</div>

The reason could be a hidden mesh:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/3/473e528b57211a91132fa59aa976594b73fcc233.png)

The object’s collision affects the world even if it’s hidden
