Cancelable doesn't allow for the Subscribable to work

The commented-out code won’t have OnPlayerEliminated called. But the regular code does call it.

OnCharacterAdded<private>(Character: fort_character): void=
        Print("On Character Added")
        #Cancelable := Character.EliminatedEvent().Subscribe(OnPlayerEliminated)
        Character.EliminatedEvent().Subscribe(OnPlayerEliminated)
        <#>if:
            Player := player[Character.GetAgent[]]
            set EliminationCancelables[Player] = Cancelable

Upon further testing, I realize that it works when the player is near the device this code is running on, but it doesn’t run otherwise. I am using world partition, but I thought devices were always loaded. I don’t know what the solution is if anyone has any suggestions.

Thanks!

There are recent issues with the EliminatedEvent so maybe it’s related

On a side note, do you check that the Character is active before entering this method ?

World Streaming shouldn’t be an issue here, maybe it’s related to your distance from world origin then?

I made sure it was active, yes. Do you know any specifics with the Eliminated Event issues?

It’s on the forum somewhere