# I add a component by blueprint, but when I move the actor with the component, it disappear

**URL:** <https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208>\
**Category:** Blueprint\
**Tags:** add-component, component-space, unreal-engine, UE4, Blueprint, question, missing-component\
**Created:** [March 13, 2019, 2:55am UTC](https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208 "2019-03-13T02:55:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viktor\_Chen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viktor\_Chen](https://forums.unrealengine.com/u/Viktor_Chen)\
**Post date:** [March 13, 2019, 2:55am UTC](https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208/1 "2019-03-13T02:55:52Z")

</div>

I add a component by blueprint, but when I move the actor with the component, it disappears. Here is my BP.

 ![271210-微信截图-20190313105109.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/a/4cac7f94d2564228a71bcac5859f5d02ccb17d46.png)

The Print is for checking if I add it successful. Actually, it works. But if I move the actor, the component disappears. After adding the component, the component does not appear in the component window where we can see other components. But the component works, I use print to test it. Again, I moved the actor, then the component disappears.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f9174839](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f9174839](https://forums.unrealengine.com/u/anonymous_user_f9174839)\
**Post date:** [March 13, 2019, 1:56pm UTC](https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208/2 "2019-03-13T13:56:32Z")

</div>

can you upload the screenshot of AddDyingZone function

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [March 13, 2019, 2:18pm UTC](https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208/3 "2019-03-13T14:18:12Z")

</div>

I guess it is that function, UE separates the words by a capital letter itself. So this function probably invokes itself multiple times but somehow there’s no infinite loop error. IDK.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f9174839](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f9174839](https://forums.unrealengine.com/u/anonymous_user_f9174839)\
**Post date:** [March 13, 2019, 3:01pm UTC](https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208/4 "2019-03-13T15:01:13Z")

</div>

AddDyingZone is a user defined function that you built, so i am asking for screenshot of that function as there can be a problem there

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [March 13, 2019, 3:48pm UTC](https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208/5 "2019-03-13T15:48:45Z")

</div>

My bad, it’s obviously a function from another bp.

---

<div class="post-metadata">

**Author:** ![Viktor\_Chen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viktor\_Chen](https://forums.unrealengine.com/u/Viktor_Chen)\
**Post date:** [July 11, 2019, 2:54am UTC](https://forums.unrealengine.com/t/i-add-a-component-by-blueprint-but-when-i-move-the-actor-with-the-component-it-disappear/445208/6 "2019-07-11T02:54:01Z")

</div>

Sorry, I’m new to UE4 so I didn’t notice the reply from you. Here is my Add Dying Zone Function.

 ![282137-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/0/da02aeff9ae18f242f53bf54e2b57ed966f73d41.png)
