Possession/Unpossession works in editor but not in packaged build

Hey, all!

So I’ve run into a weird anomaly that I’m not entirely sure how to fix, and I can’t find anyone else talking about it. In my game, there are several playable characters that the player can switch between during gameplay (think Legend of Zelda: Four Swords, or Thomas Was Alone). While testing in the editor everything works perfectly fine, but as soon as I package the game to test on Android things fall apart.

Now, the way that I’m switching characters currently is I have an array of pawns that I cycle through. When the “EventSwitchCharacter” is called I get the current pawn, unpossess it, give it a default controller, and then select the next pawn in the array and possess it, then lastly I move the camera to focus on the new pawn. And I know it’s not just a problem with my touch screen interface because the button that switches characters is still moving the camera from pawn to pawn, which means “EventSwitchCharacter” is firing, it’s just not possessing the respective pawns.

My worry is that something is wrong with possession on Android, because it works everywhere else. Any insight at all will be helpful, thank you.

1 Like