I possess a pawn, and control it.
Once the pawn is at a low health, I destroy the pawn using the Destroy Actor Node.
Before I destroy it, I use the Unposses node using my custom controller.
When I unposses, I can’t use the respawn button, (K), when I press K it should print hello.
When my pawn is alive, and I am controlling it, when I press K, it prints hello.
How can I stop my custom player controller class from getting destroyed?