Doing a Team Switch while a player is being Eliminated causes infinite black screen

Reference ID

7891fc60-4d04-dfd3-bc32-2eb99c3f8b58

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Stability

Summary

Doing a Team Switch while a player is being Eliminated causes infinite black screen

Steps to Reproduce

Create two Player Spawners, one for Team 1 and one for Team 2

Create an elimination zone (Player damage zone with type set to elimation) over the Spawner for Team 1, which activates when the player leaves the spawn area

Create a device that monitors for a player’s elimination, and switches that player’s team to Team 2 when the player is eliminated.

Make sure that the team switcher device is configured to respawn the player when they switch teams

Verse code:

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }

team_manager_device := class(creative_device):
    @editable ZombieTeam:class_and_team_selector_device := class_and_team_selector_device{}

    @editable ElimManager:elimination_manager_device := elimination_manager_device{}

    OnBegin<override>()<suspends>:void=
        ElimManager.EliminatedEvent.Subscribe(OnPlayerEliminated)

    OnPlayerEliminated(Agent : agent) : void =
        ZombieTeam.ChangeTeamAndClass(Agent)

Do something that causes your player to get eliminated

Expected Result

player agent switches teams, spawns on the new team after elimination

Observed Result

player gets a black screen that says “Respawning…”. black screen remains forever. “End game” button does not work in UEFN editor, nor in fortnite client.

Island Code

2999-4765-0417 (Private Island Code)

(Note: If you use this Island to reproduce the issue, you have to “Start The Game” by moving through the mutator zone past the arrows, before being eliminated)

Platform(s)

windows