# Why cant I Set/Update a MAP variable in Construction script?

**URL:** <https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231>\
**Category:** Blueprint\
**Tags:** Map, unreal-engine, construction-script, Blueprint, question\
**Created:** [June 1, 2023, 3:06am UTC](https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231 "2023-06-01T03:06:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![XxNotAGamerxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxNotAGamerxX](https://forums.unrealengine.com/u/XxNotAGamerxX)\
**Post date:** [June 1, 2023, 8:50pm UTC](https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231/2 "2023-06-01T20:50:30Z")

</div>

Is there an unreported bug with CS not updating Vars, and UE4.27?? (Ive found many threads reporting this issue.)

In the older version, someone could even set a Var in CS without setting it to Instance Editable.

> [@\[4.10.2\] Construction Script variables can only be edited when they are exposed.](https://forums.unrealengine.com/t/4-10-2-construction-script-variables-can-only-be-edited-when-they-are-exposed/345432/7):
>
> I was unable to reproduce this issue in 4.15.1. **I was able to set an INT variable [in CS]** and have it print **without making the variable editable**.

Yet in UE4.27, I cannot set a MAP or Array var in CS, when both are set to Instance Editable (which I believe they changed - that it is now required to be on. But still CS wont update my Map or Array vars???)

---

_[View the full topic](https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231)._
