Scene graph - Quiet server crash at game end

Summary

Reproduced in 100% of cases.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

  1. Run the code
  2. Wait until the entity is removed from the scene
  3. Finish the game


test_component<public> := class<final_super>(component):

    @editable
    Button<public> : button_device

    OnSimulate<override>()<suspends>:void=
        Button.InteractedWithEvent.Await()
        spawn { TeleportToCaster() }
        Sleep(3.0)
        Entity.RemoveFromParent()

    TeleportToCaster<private>()<suspends>:void=
        if(KeyframedMovementComponent := Entity.GetComponent[keyframed_movement_component]):
            loop:
                Print("Move")

                Keyframes := array:
                    keyframed_movement_delta:
                        Transform := transform:
                            Translation := vector3{Forward:= 10.0}
                        Duration := 0.0

                KeyframedMovementComponent.SetKeyframes(Keyframes, oneshot_keyframed_movement_playback_mode{})
                KeyframedMovementComponent.Play()
                KeyframedMovementComponent.FinishedEvent.Await()

Expected Result

The server shouldn’t crash

Observed Result

Server crashes

Platform(s)

windows

Video

FORT-911342 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 36.10.

1 Like