# Verse device array binding erases when restarting the editor.

**URL:** <https://forums.unrealengine.com/t/verse-device-array-binding-erases-when-restarting-the-editor/2441849>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, bug-report, question, fortnite\
**Created:** [April 5, 2025, 8:07pm UTC](https://forums.unrealengine.com/t/verse-device-array-binding-erases-when-restarting-the-editor/2441849 "2025-04-05T20:07:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ulvdiaz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ulvdiaz/32/1145968_2.png) [@Ulvdiaz](https://forums.unrealengine.com/u/Ulvdiaz)\
**Post date:** [April 5, 2025, 8:07pm UTC](https://forums.unrealengine.com/t/verse-device-array-binding-erases-when-restarting-the-editor/2441849/1 "2025-04-05T20:07:15Z")

</div>

Hey!  
I’m facing an issue where a binding in a verse device keeps resetting itself, every time I restart the editor it ends up erasing the array and leaving it blank. I haven’t been able to figure out the cause or how to fix it. I’d really appreciate any help!

Below is the full code from the verse device:

```auto

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }

ring_index := class<concrete>():

    @editable RingEventManager : ring_event_manager = ring_event_manager{}
    @editable var Listed : logic = true

    CheckListing():void=
        if(Listed = true):
            LoadEvent()
        else:
            Print("...error: Ring currently unlisted")     
            
    LoadEvent():void=
        RingEventManager.LoadRing()

    UnloadEvent():void=
        RingEventManager.UnloadRing()

    SendBackToLobby(Agent:?agent):void=
        RingEventManager.BackToLobby(Agent)
        
game_manager := class(creative_device):

    @editable var LoadRingIDX : int = 0
    @editable LoadRing : trigger_device = trigger_device{}
    @editable UnloadRing : trigger_device = trigger_device{}

    @editable Ring_Index : []ring_index = array{}

    @editable Lobby_Player_Spawners : []teleporter_device = array{}

    OnBegin<override>()<suspends>:void=
        LoadRing.TriggeredEvent.Subscribe(LoadRingIDXEvent)
        UnloadRing.TriggeredEvent.Subscribe(UnloadRingIDXEvent)

    LoadRingIDXEvent(Agent:?agent):void=
        if(Trigger := Ring_Index[LoadRingIDX]):
            Print("Attempting load...")
            Trigger.CheckListing()
        for(Trigger:Lobby_Player_Spawners):
            Trigger.Disable()

    UnloadRingIDXEvent(Agent:?agent):void=
        if(Trigger := Ring_Index[LoadRingIDX]):
            Print("Attempting unload...")
            Trigger.UnloadEvent()
        for(Trigger:Lobby_Player_Spawners):
            Trigger.Enable()
            Print("Global Lobby_Player_Spawners Enabled")
        if(Trigger := Ring_Index[LoadRingIDX]):
            Print("Attempting to return to lobby...")
            Trigger.SendBackToLobby(Agent)

```

![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/8/958cfddd45a45b0fb1c2d407fffbf309ae787696.png)
