# Why does my variable not update when its instance editable? 

**URL:** <https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459>\
**Category:** Programming & Scripting\
**Tags:** Variable, unreal-engine, Widget, question\
**Created:** [June 26, 2025, 11:08pm UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459 "2025-06-26T23:08:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrangeAedan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orangeaedan/32/1133224_2.png) [@OrangeAedan](https://forums.unrealengine.com/u/OrangeAedan)\
**Post date:** [June 26, 2025, 11:08pm UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/1 "2025-06-26T23:08:37Z")

</div>

![Screenshot 2025-06-26 223402](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/e/1ae82c47d25844f35a4468e565b172d47c9ad42a.png)  
 ![Screenshot 2025-06-26 223420](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/7/ad7803ebcd7bb3d182b75d04b37d0767c4d22ad9.png)  
 ![Screenshot 2025-06-26 223433](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/a/94ae5b164bd6ab0a30797d5be01f23691f6e5c1e.png)  
I have two variables. Both are instance editable and exposed on spawn. A text and image are set based on their value. And when I set them manually in the parent blueprint, they show up in the last image. But when I set them via the Construct widget blueprint, they don’t change and don’t show up in the last image. What am I missing?

---

<div class="post-metadata">

**Author:** ![Veucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Veucci](https://forums.unrealengine.com/u/Veucci)\
**Post date:** [June 27, 2025, 2:58am UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/2 "2025-06-27T02:58:52Z")

</div>

If the issue was that the text and image is not being set, you’d still expect to see the default text and image as you see it in the editor in image 2.  
It may be the KeyWidget is not being added to the viewport, Inside the Add Item is there an add to viewport being called for the widget passed in, or is the **Keys** property ever added to the viewport?

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [June 27, 2025, 3:14am UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/3 "2025-06-27T03:14:04Z")

</div>

you’re still in editor? so you need to use PreConstruct

---

<div class="post-metadata">

**Author:** ![OrangeAedan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orangeaedan/32/1133224_2.png) [@OrangeAedan](https://forums.unrealengine.com/u/OrangeAedan)\
**Post date:** [June 27, 2025, 10:45am UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/4 "2025-06-27T10:45:28Z")

</div>

The Keys variable is a list view. I’m adding it to the list. The reason it doesn’t show up is because I haven’t set a default value to both variables. But if I do it does show up. I’m pretty sure the problem is that the variables are not being set.

---

<div class="post-metadata">

**Author:** ![OrangeAedan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orangeaedan/32/1133224_2.png) [@OrangeAedan](https://forums.unrealengine.com/u/OrangeAedan)\
**Post date:** [June 27, 2025, 10:48am UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/5 "2025-06-27T10:48:18Z")

</div>

This doesn’t change anything.

---

<div class="post-metadata">

**Author:** ![Veucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Veucci](https://forums.unrealengine.com/u/Veucci)\
**Post date:** [June 27, 2025, 12:59pm UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/6 "2025-06-27T12:59:53Z")

</div>

Check your graph view in your KeyWidget to make sure KeyTitleVar is being set to the text for your Key\_Title.  
There may should be function called Get **TEXT\_VAR\_NAME** when you created the binding

---

<div class="post-metadata">

**Author:** ![OrangeAedan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orangeaedan/32/1133224_2.png) [@OrangeAedan](https://forums.unrealengine.com/u/OrangeAedan)\
**Post date:** [June 27, 2025, 1:28pm UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/7 "2025-06-27T13:28:43Z")

</div>

I checked it again. When I set the same variable in the KeyWidget, it does show up. When I get the KeyTitleVar from the TimelineEditor then it does say that the value is “Average temperature”. But in the KeyWidget it is set to nothing.

---

<div class="post-metadata">

**Author:** ![OrangeAedan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orangeaedan/32/1133224_2.png) [@OrangeAedan](https://forums.unrealengine.com/u/OrangeAedan)\
**Post date:** [June 27, 2025, 5:50pm UTC](https://forums.unrealengine.com/t/why-does-my-variable-not-update-when-its-instance-editable/2579459/8 "2025-06-27T17:50:07Z")

</div>

I was able to solve it. I had to make an object. Place the variables there. And then when the KeyWidget is added to the list view, I need to cast so I can get the variables. Although I think that what I was doing should have worked to. And it seems to be a bug.
