So, there is this issue in this script that I have used multiple times. Don’t know what’s causing it. Basically, I am doing a networked respawn. The respawn function is called within the Player Controller, which then calls a script in the Gamemode.
Here’s the gamemode
And here’s the Player Controller
Here’s the issue, when the Respawn Player function is called within the Player Controller, the Destory Actor within the Gamemode does get called, placing a breakpoint on it does cause it to stop, however, the player is not getting destroyed. It just sits there unpossessed in the level (unless it is the client, which in that case the old player remains possessed),
Also, the Error Log reads that there is a pending kill inside the Character, don’t know if that helps.
Am I just blind, or is there a bug here.
Thanks in advanced.