# @editable Concrete Classes @editable Members Broken Occasionally

**URL:** <https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [October 31, 2024, 6:57pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992 "2024-10-31T18:57:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dev\_Alt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev\_Alt](https://forums.unrealengine.com/u/Dev_Alt)\
**Post date:** [October 31, 2024, 6:57pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/1 "2024-10-31T18:57:53Z")

</div>

Make a concrete class with some editables

```auto
some_class:= class<concrete>:
    @editable MutatorZone : mutator_zone_device = mutator_zone_device{}
    @editable AudioPlayer : audio_player_device = audio_player_device{}

```

Then slap the class in a creative\_device / sub class of creative\_device (I extend creative\_device in some projects but it happens with or without inheritance)

```auto
MyDevice := class(creative_device):
    @editable SomeClass : some_class = some_class{}

    OnBegin<override>()<suspends>:void=
        SomeClass.MutatorZone.AgentEntersEvent.Subscribe(SomeMethod)

    SomeMethod(Agent:agent):void=
        Print("Some Method")

```

This works for me about 50% of the time… When it’s not working the only that will fix it is abandoning the current island i’m in and starting a new project / migrating the same code over to the new island. quite frustrating

---

<div class="post-metadata">

**Author:** ![PhoeNyxTopG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhoeNyxTopG](https://forums.unrealengine.com/u/PhoeNyxTopG)\
**Post date:** [November 2, 2024, 2:18am UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/2 "2024-11-02T02:18:51Z")

</div>

what exactly breaks? been using that for along time on many occasions and never encountered an 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:** [November 2, 2024, 12:14pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/3 "2024-11-02T12:14:58Z")

</div>

This setup is not supposed to break, maybe you’re linking the mutator before Pushing Verse Update, which gets rolled back when you do ?

When you Push Verse Changes, some changes can rollback (in live edit only) without you knowing it

---

<div class="post-metadata">

**Author:** ![Dev\_Alt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev\_Alt](https://forums.unrealengine.com/u/Dev_Alt)\
**Post date:** [November 2, 2024, 7:06pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/4 "2024-11-02T19:06:40Z")

</div>

No Once The Issue Occurs, It Persists forever.

---

<div class="post-metadata">

**Author:** ![Dev\_Alt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev\_Alt](https://forums.unrealengine.com/u/Dev_Alt)\
**Post date:** [November 2, 2024, 7:07pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/5 "2024-11-02T19:07:56Z")

</div>

it does not recognize that there is an editable selected within the concrete class. I get the stale default mutator\_zone\_device{} as if there was nothing there

---

<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 2, 2024, 7:09pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/6 "2024-11-02T19:09:10Z")

</div>

It’s not supposed to happen with native devices, this bug only happens with creative\_devices, usually you can fix it by providing an optional instead :

```auto
@editable
MutatorZone : ?mutator_zone_device = false

```

> [@Nested concrete classes @editable properties get reset everytime](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/2):
>
> 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

> [@Nested concrete classes @editable properties get reset everytime](https://forums.unrealengine.com/t/nested-concrete-classes-editable-properties-get-reset-everytime/1286781/9):
>
> Seem to be fixed when using optional editable fields instead eyes

---

<div class="post-metadata">

**Author:** ![Dev\_Alt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev\_Alt](https://forums.unrealengine.com/u/Dev_Alt)\
**Post date:** [November 2, 2024, 7:27pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/7 "2024-11-02T19:27:39Z")

</div>

yeah i’ve found the optionals to work sometimes as well. the faliure context is super frustrating to be forced into though. and it doesn’t work every time for me as well ☹

---

<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 2, 2024, 7:42pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/8 "2024-11-02T19:42:19Z")

</div>

> [@Dev\_Alt](#):
>
> the faliure context is super frustrating to be forced into though

```auto
@editable
MutatorZone<private>: ?mutator_zone_device = false

GetMutator()<transacts>:mutator_zone_device = MutatorZone? or mutator_zone_device{} # Mimics the non optional field

```

It shouldn’t work “sometimes” though, try to understand what’s wrong in your code or your map, because your setup is clearly very basic so it shouldn’t fail

---

<div class="post-metadata">

**Author:** ![Dev\_Alt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev\_Alt](https://forums.unrealengine.com/u/Dev_Alt)\
**Post date:** [November 2, 2024, 8:11pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/9 "2024-11-02T20:11:51Z")

</div>

i promise there is literally nothing wrong with the code lol.

as far as accessing the concrete class members i even sleep for 1.0 on begin

then i do a simple for loop

```auto
for(SomeClass:SomeClasses):
    SomeClass.Mutator.AgentEntersEvent.Subscribe(SomeMethodHere)

```

or

```auto
SomeClass.Mutator.AgentEntersEvent.Subscribe(SomeMethodHere)

```

this is some sort of initialization failure on begin on Epics Behalf

---

<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 3, 2024, 8:59am UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/10 "2024-11-03T08:59:36Z")

</div>

It’s literally the most basic thing one can do, so idk what to say, does it do the same on other projects ?

---

<div class="post-metadata">

**Author:** ![Dev\_Alt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev\_Alt](https://forums.unrealengine.com/u/Dev_Alt)\
**Post date:** [November 3, 2024, 7:43pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992/11 "2024-11-03T19:43:06Z")

</div>

yes by occasionally in the title i did not mean that it randomly stops working in a level that it was already working in, I meant that sometimes in fresh islands this issue happens and persists forcing you to migrate the same code to a fresh project where the same exact code proceeds to magically work again. Even code this simple does not work when it decides it wants to be broken.
