# Removing @editable locks the value of a constant

**URL:** <https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, open, fortnite-creative, fortnite\
**Created:** [March 28, 2025, 2:21pm UTC](https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380 "2025-03-28T14:21:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draceus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Draceus](https://forums.unrealengine.com/u/Draceus)\
**Post date:** [March 28, 2025, 2:21pm UTC](https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380/1 "2025-03-28T14:21:04Z")

</div>

### Summary

Removing @editable from a constant value locks the value to the value that was manually set from the details panel while the constant was editable.

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Verse

### Steps to Reproduce

Create a new verse script.  
Add @editable value, for example @editable MyNumber : int = 5  
Build verse code, place the device in the world.  
Change the editable value of MyNumber in the details panel to 15  
Build changes.  
OnBegin print value of MyNumber, prints as 15.  
Remove @editable from MyNumber  
Push verse changes  
OnBegin still prints MyNumber as 15 which was the value set through details panel while the value in code is the default 5.  
Value now always locked to 15 no matter what I change it to through code.

### Expected Result

When removing @editable from MyNumber the value should be whatever is in the code not what was set on the editable in the details panel.

### Observed Result

The value is still there from the value that was set on the editable in the details panel

### Platform(s)

PC

---

<div class="post-metadata">

**Author:** ![TheIndieBro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/theindiebro/32/676206_2.png) [@TheIndieBro](https://forums.unrealengine.com/u/TheIndieBro)\
**Post date:** [March 28, 2025, 3:18pm UTC](https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380/2 "2025-03-28T15:18:05Z")

</div>

Video of the repro steps of this issue.

---

<div class="post-metadata">

**Author:** ![Mr.Brutiful](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.brutiful/32/887853_2.png) [@Mr.Brutiful](https://forums.unrealengine.com/u/Mr.Brutiful)\
**Post date:** [April 1, 2025, 10:39pm UTC](https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380/3 "2025-04-01T22:39:09Z")

</div>

Can confirm that this has been an issue for at least 1 year. I encountered this on a project I was working on in October of 2023.

---

<div class="post-metadata">

**Author:** ![Sprintermax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sprintermax/32/1037175_2.png) [@Sprintermax](https://forums.unrealengine.com/u/Sprintermax)\
**Post date:** [August 22, 2025, 7:03pm UTC](https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380/7 "2025-08-22T19:03:59Z")

</div>

That is intendeed, it keeps a reference to every class instance (and any overriden property inside of it)… @editable just expose the value to the editor, but not having it does not mean that the class itself has not overriden the value (You can override on other places such as inside the code too)…

On your video you say “What if I don’t want it to be editable and now being a constant“. But a constant can still be overriden on created class instances and/or subclasses. If you want a value that is not possible to be overriden, it should be marked as \<final\>, such as:

```verse
my_class := class{
    MyValue<final> : int = 7 # Since this is marked as final, instances and subclasses of this class can’t override it to any other value`
}

```

I agree that it may cause bugs, and epic also knows it, in Scene Graph they are explicitly showing a warning when outdated values are present due to changes on the code (such as deleting/renaming properties or removing the editable attribute).  
With that, it lets you discard the old value, or ignore and keep it as you may want (with the warning still displaying so the user knows about it): [Data Recovery Tool in Unreal Editor for Fortnite | Fortnite Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/fortnite/data-recovery-tool-in-unreal-editor-for-fortnite)

So, the bug to be reported here would be the verse creative devices not showing the warning of hidden overrides, and not the functionality itself… The functionality has nothing wrong with it, and the confusion that it may cause is only due to the lack of communication (no warnings displayed about)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 24, 2025, 2:21pm UTC](https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380/8 "2025-09-24T14:21:51Z")

</div>

This topic was automatically closed after 180 days. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [December 8, 2025, 8:44pm UTC](https://forums.unrealengine.com/t/removing-editable-locks-the-value-of-a-constant/2424380/9 "2025-12-08T20:44:50Z")

</div>

FORT-884036 has been ‘Backlogged’. This is an issue we’d like to address in the future.
