# Attached Actor not following scene component!

**URL:** <https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302>\
**Category:** Programming & Scripting\
**Tags:** bug, attach-to-component, unreal-engine, Blueprint\
**Created:** [January 14, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302 "2023-01-14T16:11:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koldmilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/koldmilk/32/609398_2.png) [@Koldmilk](https://forums.unrealengine.com/u/Koldmilk)\
**Post date:** [January 14, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/1 "2023-01-14T16:11:31Z")

</div>

Hey again,

So I’m having a problem that’s very strange. I have an actor that on begin play spawns an actor and attaches to a scene component.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/2/5324af4cedbcb45c5f32d46a583ecce8ec82bc28.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/c/24c19fc3dc7a0fd3ce9e7ac680035bb413cca3e1.png)

The **parent actor** then moves to a different location and the player character can grab the attached spawned in actor. This all works without issue; the attached item follows, no problem.

The issue is the player has to place the spawned in actor back onto the original actor. Now the spawned in actor is placed back to the correct spot and looks like it attaches to the scene component no problem _but when the **parent actor** goes to move back to its original location the attached actor does not follow it anymore._

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/7/84700e5bbaf514776219705ae1a671b686c3303d.jpeg)

The code for attaching the actor on begin play and when the player attaches it are the same. So, I’m not sure if its a bug or if I’m missing something else.

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [January 14, 2023, 5:25pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/2 "2023-01-14T17:25:29Z")

</div>

Hi Koldmilk,

What happens if you change the “SnapToTarget” in the Location and Rotation Rules to “Keep Relative”?

---

<div class="post-metadata">

**Author:** ![Koldmilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/koldmilk/32/609398_2.png) [@Koldmilk](https://forums.unrealengine.com/u/Koldmilk)\
**Post date:** [January 14, 2023, 5:50pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/3 "2023-01-14T17:50:32Z")

</div>

Changing the Location Rules on the “AttachActorToComponent”  
doesn’t seem to have an affect.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/3/613a453e69e214d72c3997e8ff7f3d8b7015d7b1.png)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [January 14, 2023, 5:52pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/4 "2023-01-14T17:52:58Z")

</div>

I had a feeling you were going to say that - but was worth a try…

Are you sure AttachPoint is always valid and correct?

---

<div class="post-metadata">

**Author:** ![Koldmilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/koldmilk/32/609398_2.png) [@Koldmilk](https://forums.unrealengine.com/u/Koldmilk)\
**Post date:** [January 14, 2023, 6:00pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/5 "2023-01-14T18:00:59Z")

</div>

Hmm, what could cause it to become invalid? How should I check?

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [January 14, 2023, 6:09pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/6 "2023-01-14T18:09:36Z")

</div>

Testing it’s Actor first should cover it:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/c/b3c32faed8148d6f8345d43ef02bb473e7daed27.png)

---

<div class="post-metadata">

**Author:** ![Koldmilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/koldmilk/32/609398_2.png) [@Koldmilk](https://forums.unrealengine.com/u/Koldmilk)\
**Post date:** [January 14, 2023, 6:23pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/7 "2023-01-14T18:23:03Z")

</div>

Seems the component is valid. Oddly using an On Tick event and getting the world location of the “Attach Point” shows it is moving so probably an issue in the attached actor.

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [January 14, 2023, 6:26pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/8 "2023-01-14T18:26:41Z")

</div>

I just noticed you’re turning physics off before attaching, this post may help:

> [@Attach actor with physics](https://forums.unrealengine.com/t/attach-actor-with-physics/635011):
>
> Hi Activating “Simulate physics” on a blueprint does not seem to have an effect? Similar to Zelda games, I have a stick I can pick up. It currently does not have physics, and the pick-up works fine, but glitches through the floor of elevators if placed on the ground. So, I would like the stick to have physics, but the problem then is that I can’t pick it up. I can see in the outliner that it gets attached, but not transformed to the socket. I have tried to deactivate physics before attaching i…

---

<div class="post-metadata">

**Author:** ![Koldmilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/koldmilk/32/609398_2.png) [@Koldmilk](https://forums.unrealengine.com/u/Koldmilk)\
**Post date:** [January 14, 2023, 7:02pm UTC](https://forums.unrealengine.com/t/attached-actor-not-following-scene-component/749302/9 "2023-01-14T19:02:41Z")

</div>

Thanks! that post helped me noticed something.

Embarrassingly, I had a call in another part of the blueprint that was causing it to detach right after attaching.

Killing that seems to have fixed it.
