# Nested concrete classes @editable properties get reset everytime

**URL:** <https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [September 7, 2023, 11:26am UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781 "2023-09-07T11:26:53Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 7, 2023, 11:26am UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/1 "2023-09-07T11:26:53Z")

</div>

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

Verse

### Summary

Nested concrete classes @editable properties gets reset everytime

### Steps to Reproduce

see link under

### Expected Result

see link under

### Observed Result

see link under

### Platform(s)

PC

### Additional Notes

> [@Nested concrete classes @editable properties gets reset everytime](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-gets-reset-everytime/1283935):
>
> So I made this setup for a generic item fetching objective : [image] As you can see the PropsToFetch array is filled with properties, but everytime I build Verse or reopen my project, it gets reset. Building Verse shows this error : (even when I didn’t change anything to the file) As you can see, array now contains object that I can’t edit anymore ? I think this only happens when Building Verse, if I reopen the project it will just fill in “None” values instead! [image] Here’s th…

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 15, 2023, 4:27pm UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/2 "2023-10-15T16:27:43Z")

</div>

Bump, this happens really often and is a bit annoying to work around, have to make tens of creative\_devices instead of just using concrete classes

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 31, 2023, 4:06pm UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/3 "2023-10-31T16:06:40Z")

</div>

Bump, this is an awful issue, my maps contains 2 times more creative\_devices than they should.

Another example to show you guys what happens

As you can see the error only shows upon refreshing the map inside UEFN, meaning that you will think that everything is alright when starting your session, but all values are `None` in game

HUDSections and PersistedValues are \<concrete\> `struct` (but same bug happens with `classes`), the only way to fix this is by replacing them with `class(creative_device)` instead

Don’t mind the map check error, it’s from another thing

---

<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:** [October 31, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/4 "2023-10-31T16:11:42Z")

</div>

UCB-1021 incident has been created. Status is ‘Awaiting Validation’.

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [November 8, 2023, 12:19am UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/5 "2023-11-08T00:19:28Z")

</div>

Probably related :

> [@Verse @editables dissapearing when they are of type custom creative\_device](https://forums.unrealengine.com/t/verse-editables-dissapearing-when-they-are-of-type-custom-creative-device/1250067):
>
> When making an @editable of a type array of a class that contains an @editable of a verse device that inherits from creative\_device, the parameter can reset to None sometimes which is very annoying. Here is an example of a verse device that may reset the parameter of the @editable verse device “TestDevice” in the “TestDeviceArray” editable: testmanager := class(creative\_device): @editable TestDeviceArray : []testdevice\_info = array{} testdevice\_info := class(): @editable TestDevice : testdev…

> [@@editable creative\_objects Disseapear Through Structs](https://forums.unrealengine.com/t/editable-creative-objects-disseapear-through-structs/1364705):
>
> Reference ID 5c0ea500-4d88-117e-0699-ce8e3963f393 Please select what you are reporting on: Unreal Editor for Fortnite What Type of Bug are you experiencing? Verse Summary Hey, I know I could do this before, and I’ve seen others do the same but now when I try to form an @editable creative\_object (or a specific device (mutator\_zone\_device), or even a creative\_prop) within a couple layers of structs/arrays the selector disappears in the details tab. [https://snipboard.io/G062Zf.jpg](https://snipboard.io/G062Zf.jpg) . I can see t…

---

<div class="post-metadata">

**Author:** ![MarcosRocha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcosrocha/32/741852_2.png) [@MarcosRocha](https://forums.unrealengine.com/u/MarcosRocha)\
**Post date:** [January 23, 2024, 3:19am UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/6 "2024-01-23T03:19:04Z")

</div>

I’m facing this issue either. I have a concrete class in order to separate my logic. They’re being referenced on my creative\_device. Every time I close the map and reopen the reference is set to None.

---

<div class="post-metadata">

**Author:** ![PurpleElephant55](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/purpleelephant55/32/698558_2.png) [@PurpleElephant55](https://forums.unrealengine.com/u/PurpleElephant55)\
**Post date:** [January 23, 2024, 3:24am UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/7 "2024-01-23T03:24:53Z")

</div>

@MarcosRocha Thank you for your report! Can you please re-post using the “New Issue” option on the [Issues and Bug Reporting](https://forums.unrealengine.com/tags/c/general/issues-and-bug-reporting/172/fortnite)forums? Posts with this feature are connected directly into our development team so we can quickly get to them!

For more information, such as how to get the reference ID, please check out the article here: [Using the Creative and UEFN Bug Reporting Form](https://create.fortnite.com/news/using-the-creative-and-uefn-bug-reporting-form)

---

<div class="post-metadata">

**Author:** ![MarcosRocha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcosrocha/32/741852_2.png) [@MarcosRocha](https://forums.unrealengine.com/u/MarcosRocha)\
**Post date:** [January 23, 2024, 3:35am UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/8 "2024-01-23T03:35:59Z")

</div>

Yes, for sure. Thank you for your support.

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [February 23, 2024, 3:35pm UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/9 "2024-02-23T15:35:12Z")

</div>

Seem to be fixed when using optional editable fields instead 👀

---

<div class="post-metadata">

**Author:** ![voldexnetwork](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@voldexnetwork](https://forums.unrealengine.com/u/voldexnetwork)\
**Post date:** [April 23, 2024, 1:43pm UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/10 "2024-04-23T13:43:15Z")

</div>

Also getting this issue.

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [April 23, 2024, 1:54pm UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/11 "2024-04-23T13:54:54Z")

</div>

Look at my answer

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [January 23, 2025, 1:24pm UTC](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/12 "2025-01-23T13:24:06Z")

</div>

This is still an issue, although using the recently silently added non concrete editable classes to get rid of the default value seem to fix it too (might be more relevant than optionals)

```auto
killstreak_data := class: # <-- Not concrete
    @editable
    KillsNeeded : type {Value:int where 1 <= Value, Value <= 30} = 1

    @editable
    Killstreak : killstreak # <-- No default value

killstreak_manager := class(crashable_device):

    @editable
    AvailableKillstreakData : []killstreak_data = array{}

```
