# Respawn Player, on possessing, no input is available

**URL:** <https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [April 19, 2024, 10:11pm UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745 "2024-04-19T22:11:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![God\_Ozai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@God\_Ozai](https://forums.unrealengine.com/u/God_Ozai)\
**Post date:** [April 19, 2024, 10:11pm UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/1 "2024-04-19T22:11:30Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/7/aa769a7cd23a76605a79cd98f77fd6cafc8ddd53.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/e/46e68f1651c5165623f1cf263a5237e8554762dd.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/b/eab1f10fdeea81f808c968c3fa87e4614e102d65.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/5/425f05b2237a272f38e828977f7b3b1e32478a33.jpeg)  
I’m trying to get the player to be able to respawn after dying by pressing the respawn widget button, everything seems to work as normal the death widget is destroyed and replaced with the regular player widget, except the only thing that doesnt work is player input, which sucks, i tried putting enable input before and after possesing player to no evail and if theres a youtube video on this then I havent seen it, it just seems like a pretty shoddy problem, like why does input not get enable. I even removed the disable input for the death widget so enable should never have been disabled but still nothing, I set the auto possess player to 0 so everything atleast in my head lines up but it does nothing, is there any work around or just fix would be better, or is the possess node just kind of a bad way of respawning atleast for widgets?

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [April 19, 2024, 11:48pm UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/2 "2024-04-19T23:48:37Z")

</div>

Hey @God_Ozai!

Try using “Set Input Mode \_\_\_\_”  
There are a few options:  
Game Only  
Game and UI  
UI only.

Try using Game and UI, and if that doesn’t work, try using Game Only! 🙂

---

<div class="post-metadata">

**Author:** ![God\_Ozai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@God\_Ozai](https://forums.unrealengine.com/u/God_Ozai)\
**Post date:** [April 20, 2024, 12:21am UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/3 "2024-04-20T00:21:57Z")

</div>

I tried this, but i also found something out, I’m not actually possessing the new pawn, it just spawns the character in and I’m not possessing the new one, still no idea how to fix though

---

<div class="post-metadata">

**Author:** ![God\_Ozai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@God\_Ozai](https://forums.unrealengine.com/u/God_Ozai)\
**Post date:** [April 20, 2024, 12:39am UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/4 "2024-04-20T00:39:16Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/1/131d1ac4929b5ba215bc45a8ea20affdb926421e.png)  
It gets to here, so It spawns the player in but it doesn’t possess it, I tried adding an unpossess node before it and that didnt work either

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 20, 2024, 12:49am UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/5 "2024-04-20T00:49:11Z")

</div>

> [@God\_Ozai](#):
>
> I tried this, but i also found something out, I’m not actually possessing the new pawn, it just spawns the character in and I’m not possessing the new one, still no idea how to fix though

Which is odd because you specifically put that Possess node there. While ago I ran into another bug with this part of the engine, did you try debugging it in c++? This part in specific:

> [[UE5.2.1, Bug report] Controller::Possess broken if Pawn auto possess AI.](https://forums.unrealengine.com/t/ue5-2-1-bug-report-controller-possess-broken-if-pawn-auto-possess-ai/1218849)

---

<div class="post-metadata">

**Author:** ![God\_Ozai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@God\_Ozai](https://forums.unrealengine.com/u/God_Ozai)\
**Post date:** [April 20, 2024, 6:39pm UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/6 "2024-04-20T18:39:26Z")

</div>

I’m not sure about c++ I dont know much about that, but I tried another solution to destroy the actor when the player dies, and then on destroyed it calls the possess, that suprisingly worked. But then for some unknown reason when I literally just move destroy actor to the widget so all I do when clicking the button is destroy the player character which I did before but now it doesnt even work, like what is this

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 20, 2024, 10:51pm UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/7 "2024-04-20T22:51:47Z")

</div>

Yes it doesn’t sound right. It’s been a while since I dived into this myself but have you tried disabling this?  
[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/d/ccdc280ad071fea3cce1990fe0bd015821a1ac05.png) ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/d/ccdc280ad071fea3cce1990fe0bd015821a1ac05.png)

That is where bugs happen as well (it’s explained in my link). I’ve not documented more about it but I feel it might be related.

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [April 21, 2024, 3:03am UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/8 "2024-04-21T03:03:26Z")

</div>

your destroying the actor before the respawn logic, so it likely isnt triggering at all.

I’d move the respawn logic to the PlayerController

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [April 23, 2024, 12:01am UTC](https://forums.unrealengine.com/t/respawn-player-on-possessing-no-input-is-available/1811745/9 "2024-04-23T00:01:59Z")

</div>

@Auran131 Is right.

You’re destroying the actor that has the logic- anything after the actor is destroyed (which takes a very small time- enough to execute the next node sometimes, though) is not reliable, as once it’s destroyed its execution stops. I’m thinking it’s getting the spawn node off but the actor is destroyed during that, and so it doesn’t continue to the possess.

You could even just move the DestroyActor node to be right after the Enable Input node- that should do the trick, or at least take out a large hurdle! 🙂
