Score manager and capture zones do not work with NPC Spawner Device

Summary

Any NPCs spawned with the NPC spawner device, if their agent is passed into either the score manager device or the capture zone device they do not update the score properly. Seemingly not accepting the agent that is passed into them. It appears something is wrong with the corresponding agent from these NPC spawner devices.

Even the score will not update for the team scoreboard, both top center score HUD and the basic one.

It does not seem to be an issue with getting the team from the NPCs from the NPC spawner device but rather the agent itself that is passed into these devices.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Devices

Steps to Reproduce

Place score manager
place capture zone
Place NPC Spawner

Use ScoreManager.Activate(Agent) or CaptureArea.GiveControl(Agent) where agent is a custom NPC spawned by the NPC spawner device

Expected Result

The score updates accordingly on the scoreboard or the capture area changes control to that agents team.

Observed Result

The score manager does not update the team score, or I’m assuming also the NPCs score. And the capture area does not change control.

However, you are able to get the team that the NPC Spawners agent is.

Platform(s)

PC

Additional Notes

GrantScoreElimination(MaybeAgent:?agent):void= 
    if(Agent := MaybeAgent?):   
        Print("Passed Agent Check")
        TeamCollection := GetPlayspace().GetTeamCollection()
        AllTeams := TeamCollection.GetTeams()
        if:
            Team1 := AllTeams[0]
            Team2 := AllTeams[1]
        then:
            if(TeamCollection.IsOnTeam[Agent,Team1]):
                Print("Checked agent, they are team 1")
                Print("Applying Score")
                Team1ScoreManager.Activate(Agent)
                if:
                    CurrentTeam1Score := Team1ScoreStat.GetValue[Team1]
                    Team1ScoreStat.SetValue[Team1,CurrentTeam1Score+1]
                  

                then:
                    Print("Team 1 Score Increased")
                    TestCaptureArea.GiveControl(Agent)
                    Print("Gave team 1 control")
            else:
                if(TeamCollection.IsOnTeam[Agent,Team2]):
                    Print("Checked agent, they are team 2")
                    Print("Applying Score")
                    Team2ScoreManager.Activate(Agent)
                    if:
                        CurrentTeam2Score := Team2ScoreStat.GetValue[Team2]
                        Team2ScoreStat.SetValue[Team2,CurrentTeam2Score+1]
                    then:
                        Print("Team 2 Score Increased")
                        TestCaptureArea.GiveControl(Agent)
                        Print("Gave team 2 control")
                else:
                    Print("Agent didn't have a team")
        else:
            Print("No Team Found for Agent, Score Not Granted")
    else:
        Print("Not Agent") 

If an NPC Spawner agent is passed into this, it will get the team successfully and go through it just fine. But the Team1ScoreManager and Team2ScoreManager Activations will not work, neither will the give control work. The stat creator devices will update properly however since you are able to get the team from the agents.

Obviously these are old devices and I could make my own UI but the score system is already used by so many devices so it would be nice if it just worked.