Edit session hangs and disconnects when Err() is called on round end

Summary

When Err() is called during round end, the edit session hangs and becomes unresponsive. After 30 seconds, the session disconnects due to a connection timeout.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

  1. RoundManager.SubscribeRoundEnded(OnRoundEnded) in any component
  2. Call Err(“Test”) in OnRoundEnded
  3. In edit session → Start Game → End Game

Expected Result

VerseRuntime: ErrorRequested: A runtime error was explicitly raised from user code. (User Message: ‘Test!’)

Observed Result

UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 30.01 (…)

Platform(s)

PC

Additional Notes

It used to work properly before v42.00

test_component := class<final_super>(component):

    OnSimulate<override>()<suspends>:void =
        RoundManager := Entity.GetFortRoundManager[] or Err("test_component.OnSimulate() — fort_round_manager is not valid")
        RoundManager.SubscribeRoundEnded(OnRoundEnded)

    OnRoundEnded():void =
        Err("Test!")