# Construction script ignores components changed in the map

**URL:** <https://forums.unrealengine.com/t/construction-script-ignores-components-changed-in-the-map/351155>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 20, 2016, 4:11pm UTC](https://forums.unrealengine.com/t/construction-script-ignores-components-changed-in-the-map/351155 "2016-03-20T16:11:55Z")\
**Posts on this page:** 3\
**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:** [March 20, 2016, 4:11pm UTC](https://forums.unrealengine.com/t/construction-script-ignores-components-changed-in-the-map/351155/1 "2016-03-20T16:11:55Z")

</div>

- Add any component in a actor bp
- Print relative location in construction script
- Place Actor in map
- In the details view select the component and then move it around, the print relative location is wrong

This bug prevents quite a lot of things of being possible with construction scripts. Mainly anything construction script that should also be editable in the map does not work because of it.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [March 23, 2016, 8:25pm UTC](https://forums.unrealengine.com/t/construction-script-ignores-components-changed-in-the-map/351155/2 "2016-03-23T20:25:22Z")

</div>

Hi Davision,

Thanks for the report. I was easily able to reproduce this so I created JIRA UE-28690. Our developers are going to be investigating further.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![A\_n\_b\_e\_c\_h](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A\_n\_b\_e\_c\_h](https://forums.unrealengine.com/u/A_n_b_e_c_h)\
**Post date:** [May 14, 2024, 3:58pm UTC](https://forums.unrealengine.com/t/construction-script-ignores-components-changed-in-the-map/351155/3 "2024-05-14T15:58:43Z")

</div>

8 years later, and this is still an issue.  
Any type of variable in an UActorComponent used in the AActor it’s added to will always use the default value in the construction script, and not the instanced value.
