Minor - Exposed array of custom class not saving values when pushed to session

I have an array of a class of Teams with properties on a custom device. In UEFN I can add teams to the array, change properties, but as soon as I save and push changes to the edit session, all items in the array become null.

Is there something needed in Verse that I’m missing to properly serialize the class instances in the array?

TeamDef := class<concrete>():
    @editable
    TeamPlayersMaxSize : int = 1
    @editable
    TeamClassSelector : class_and_team_selector_device = class_and_team_selector_device{}
    @editable
    TeamTeleporter : teleporter_device = teleporter_device{}
@editable
    Teams : []TeamDef := array{}

Set properties:
Screenshot (2)
Save and properties in array become null:
Screenshot (3)

I need a class for additional methods, but I also tried to use a simple struct, but that doesn’t seem to support device references as properties. They dont show up in UEFN.

Screenshot (7)

I solved this by using a creative_device for my team class, then creating instances of Teams in the level that my manager class references. This allowed the instance properties to save.

1 Like