Verse hot reload failed

Summary

Every time i push verse changes it leads to “Verse hot reload failed” error and edit session lost connection state.

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

Push Verse Changes

Expected Result

Changes Pushed

Observed Result

Verse hot reload failed

Platform(s)

PC

FORT-936456 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.

Is it probably the same problem as

Thank you @Benjf29 :slight_smile: You are correct.

We are checking into this and will post an update when we have more information.

We have the exact same error here as in Bios Trios Zone Wars

I experience the same issue on some large projects I work on, but everything seems to work fine on smaller ones.

Right now its small project with scene graph enabled

same issue scene graph enabled small project and a large project both verse hot reload fails everytime

For me, this bug came from the fact i use Scene Graph and that I initialized my entity outside the OnBegin() function:

hello_world_device := class(creative_device):
    @editable DebugSpawnEntity : button_device = button_device{}

    var PrefabToSpawn : entity = Entities.Test{}

So I modified it this way, and I no longer have the Verse hot reload failed error.

hello_world_device := class(creative_device):
    @editable DebugSpawnEntity : button_device = button_device{}

    var PrefabToSpawn : ?entity = false
    # Runs when the device is started in a running game
    OnBegin<override>()<suspends>:void=
        set PrefabToSpawn = option{Entities.Test{}}