First Person Camera Device cannot be added to player via Verse

Summary

My map has a device that toggles the First Person Camera device on and off via a button. However this does not work and the FPS camera is never added. Here’s the code:

OnBegin<override>()<suspends>:void=
    Print("Game Settings Device Initialized")
    FPS_Camera_Device.Enable()
    Button_ToggleFPS.InteractedWithEvent.Subscribe(ToggleFPSMode)
    PropOn.Hide()

ToggleFPSMode(Agent : agent) : void =
        var CurrentState : logic = false
        if (State := FPSisEnabledPerPlayer[Agent]):
            set CurrentState = State

        if (CurrentState = true):
            if (set FPSisEnabledPerPlayer[Agent] = false):
                FPS_Camera_Device.RemoveFrom(Agent)
                PropOn.Hide()
                PropOff.Show()
                Print("FPS Mode Disabled")
        else:
            if (set FPSisEnabledPerPlayer[Agent] = true):
                FPS_Camera_Device.AddTo(Agent)
                PropOn.Show()
                PropOff.Hide()
                Print("FPS Mode Enabled")

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Devices

Steps to Reproduce

Connect device to a Verse script, use FPS_Camera_Device.AddTo(Agent) and use Button.InteractedWithEvent.Subscribe to send the agent.

Expected Result

The First Person Camera should be added to the player

Observed Result

The FPS camera is not added to the player.

Platform(s)

All

Additional Notes

Have also confirmed this issue on another map (7300-0705-2924) Prison Escape Roguelike.