# Pawn controllers get messed up after switching.

**URL:** <https://forums.unrealengine.com/t/pawn-controllers-get-messed-up-after-switching/1327834>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [October 10, 2023, 2:39am UTC](https://forums.unrealengine.com/t/pawn-controllers-get-messed-up-after-switching/1327834 "2023-10-10T02:39:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheXplanations1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thexplanations1/32/739811_2.png) [@TheXplanations1](https://forums.unrealengine.com/u/TheXplanations1)\
**Post date:** [October 10, 2023, 2:39am UTC](https://forums.unrealengine.com/t/pawn-controllers-get-messed-up-after-switching/1327834/1 "2023-10-10T02:39:05Z")

</div>

So I followed this YouTube [video](https://youtu.be/3aLBUDlrids) and an Unreal Engine [documentation](https://docs.unrealengine.com/5.3/en-US/possessing-pawns-in-unreal-engine/) to create a switch pawns during runtime mechanic for a project I am working on in Unreal Engine 5.1. The Issues I have run into can be seen in this video that I recorded to showcase my problem [https://youtu.be/\_Oksoab8ECg](https://youtu.be/_Oksoab8ECg).

Every time I switch to the next pawn my input becomes messed up. I am using the Enhanced Input Mapping system in Unreal engine 5.1 in my project following along a Top down shooter guide I came across on YouTube.

As you may notice via the on screen key logs:

- When I switch characters the A and S may become inverted  
or
- When I switch characters my movement speed is brought down to crawl  
or
- Both things happen at the same time.

This is really annoying and I have tried my best to debug it to no avail. The only work around I have found is if I switch character back and forth between the same character really really quickly it tends to fix the issue until I switch again. But this is not a good workaround especially if I would like others to play it, I would like to find a fix. Here are some screen shots of my blueprints.

Level Blue Print

 ![Screenshot 2023-10-09 221842](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/8/4582dc09c50da05acf1759ac2a075a4b30663573.png)

Macro used to Posses Pawn in Level Blue Print

 ![Screenshot 2023-10-09 221856](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/e/97e76796515a41cb25f184e6c572a1e227ed7e65.png)

Event Begin play of Parent Character class which both characters classes are children of

 ![Screenshot 2023-10-09 221941](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/e/01e0dcca0d27130a03cf6838b109fd94286743c2.png)

Player Controller that both characters are using

 ![Screenshot 2023-10-09 222134](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/d/41dd9fba961d4def7d9163b74684c630cac6b3c8.png)

I tried to bug fixe by removing the AI auto posses when not controlled by the player mechanic I implemented but that also did not bring any relief.

A similar thread with an issue like mine is this [Vehicle & 3rd Person Not Moving when Possessed in UE 5.1](https://forums.unrealengine.com/t/vehicle-3rd-person-not-moving-when-possessed-in-ue-5-1/779089) But their solution unfortunately did not work for me.

Any assistance will be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [October 10, 2023, 5:02am UTC](https://forums.unrealengine.com/t/pawn-controllers-get-messed-up-after-switching/1327834/2 "2023-10-10T05:02:26Z")

</div>

Give this a try… Player Controller Class

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/a/e0a736fe416299fd491470ada7c87d4697dff691.png)

* * *

Note in the controller class you do not need to “Get” the controller, you are the controller, thus No input pin on the “Enhanced input local player subsystem”.

---

<div class="post-metadata">

**Author:** ![TheXplanations1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thexplanations1/32/739811_2.png) [@TheXplanations1](https://forums.unrealengine.com/u/TheXplanations1)\
**Post date:** [October 10, 2023, 12:32pm UTC](https://forums.unrealengine.com/t/pawn-controllers-get-messed-up-after-switching/1327834/3 "2023-10-10T12:32:05Z")

</div>

Unfortunately this didn’t fix the problem.
