# Can't get Player Mappable Actions

**URL:** <https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 15, 2023, 8:01am UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086 "2023-02-15T08:01:15Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShatteredGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShatteredGames](https://forums.unrealengine.com/u/ShatteredGames)\
**Post date:** [February 15, 2023, 8:01am UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/1 "2023-02-15T08:01:15Z")

</div>

I’m trying to get all input in a mapping context in order to dynamically create a control remapping widget. But the corresponding nodes don’t return anything.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/1/41103b91c80c65738ad5a2dd60dcfc6b4605d62d.png)

There is a mapping loaded and input is working. It’s just that I’m either using the wrong object for the interface call or that they are broken. Can’t find them when searching for documentation either.

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [February 15, 2023, 3:32pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/2 "2023-02-15T15:32:00Z")

</div>

EDIT: This is for 5.1 and 5.2. If you’re using 5.3+, go to this instead [Can't get Player Mappable Actions - #11 by rokenrock](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/11)

* * *

I actually just found out how to do this for my own project. The documentation for player mappable anything in this system is really poor. Took a while and was a pain in the \*\*\*, but I now understand it.

Here’s the post I made about it. It goes over the entire process from mapping to saving to loading to the little quirks of the system, including that node:

> [@How to transfer/keep PlayerMappableOptions when remapping](https://forums.unrealengine.com/t/how-to-transfer-keep-playermappableoptions-when-remapping/736479/8):
>
> An edit after the fact- it seems that this process has been massively simplified in 5.3. I haven’t had the time to upgrade to 5.3 and get a comprehensive look, but it may now be as simple as it should’ve been. So the solution to this involves quite a few steps, and doing anything wrong breaks everything, but I’ve finally figured it out. One note → Absolutely Never use RemovePlayerMappedKey It will break everything. First, you have to get an array of all your contexts. As far as I know, th…

---

<div class="post-metadata">

**Author:** ![ShatteredGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShatteredGames](https://forums.unrealengine.com/u/ShatteredGames)\
**Post date:** [February 17, 2023, 7:55am UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/3 "2023-02-17T07:55:42Z")

</div>

I tried what you did but now none of my input works.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/2/ba21c098cfffe427c657dde9854ac62fcf8b8fc0.png)

Maybe I got something wrong. Do you see the error?  
It’s called on begin play

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [February 17, 2023, 12:56pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/4 "2023-02-17T12:56:47Z")

</div>

There isn’t anything obviously wrong. That’s really weird though- with your setup, it shouldn’t be possible to delete mappings.

Sometimes using Enhanced Input Local Player Subsystem is a bit jank, so maybe get a reference to player controller and get it from there.

I notice you’re not using an array of contexts. Which is fine if that’s not how you set up your game.

Make sure you have the defaults of InputConfigs set and never change them at runtime. Never change anything in them either. Preferably show me the declaration of this just so I can make sure.

Make sure you don’t have any MapKey or UnmapKey nodes hidden somewhere in a blueprint you forgot about.

Could you also show me your context(s) fully expanded like so:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/4/7a45d8be483cbb806f0a462f676ebddadfd53345.png)

---

<div class="post-metadata">

**Author:** ![ShatteredGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShatteredGames](https://forums.unrealengine.com/u/ShatteredGames)\
**Post date:** [February 17, 2023, 1:21pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/5 "2023-02-17T13:21:41Z")

</div>

Alright, these are the places that use the mapping nodes other than initialising in the controller and trying to get all of the mappings in the widget.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/0/2b0d823b8dc92461ba146bb448691817ba292086.png)

I got these:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/4/8a4ffac05a8a1b1585f1fb604b3a50a5216e6c46.png)

And the mappings are:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/9/1f95679741341753085e08149d05495cff8be460.png)

I don’t use an array of mappings yet as there’s only vehicle control now.

This is the player mappable input config:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/5/c557aac807f491864fb42a0c8742f287fc93e4be.png)

There’s no changing ingame yet, but it’s going to happen at some point.

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [February 17, 2023, 1:47pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/6 "2023-02-17T13:47:47Z")

</div>

Ok-

1. The array of contexts (or in this case single variable) is just a reference to every context in your game that will ever be active. It should never be changed  
  
  

2. Get rid of the player mappable input config. It’s stupid and I don’t like it and is only useful for applying multiple contexts at once.  
  
  

3. Make sure this function  

4. This function won’t work to get bindings- it’s from the old system, not enhanced:

---

<div class="post-metadata">

**Author:** ![ShatteredGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShatteredGames](https://forums.unrealengine.com/u/ShatteredGames)\
**Post date:** [February 17, 2023, 6:35pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/7 "2023-02-17T18:35:43Z")

</div>

1. Alright, thanks for clarifying!
2. I deleted it
3. I deleted the code behind Init. It never ran because this widget component wasn’t ever created because I never received any keybinding from the subsystem
4. It’s deleted from Init

- though I still can’t control anything when I use the loop to add the mappings with and I’m also receiving nothing from GetAllPlayerMappableActionKeyMappings -

I’m really grateful that you’re trying you best to help. Though do you have any idea left?  
I could be creating everything by hand but I kinda don’t want to create stiff systems that are high maintenance whenever we change something 😕

EDIT:  
So this is what I do in the controller on BeginPlay:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/b/1fbf4855b59250df93191df81966577525ef1111.png)

And the Interface call to the HUD calls this widget function:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/e/56eea86a5de0e722451f0868f6520949c36a3cde.png)

The array is always empty though and the breakpoint on the brnch never reached:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/1/061e14dfb1e0cbc2f8303884c8c50edf889a5039.png)

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [February 17, 2023, 6:46pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/8 "2023-02-17T18:46:13Z")

</div>

Of course- that’s the same reason I made it in the first place.

Though, this is likely unrelated to the binding. This function doesn’t actually change anything, it just applies the defaults that you’ve already made to a form that we can change and monitor.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/2/ba21c098cfffe427c657dde9854ac62fcf8b8fc0.png)  
  
  

You _ARE_ applying the context right? If the context isn’t applied, though you can still change its bindings, the events for input will never fire. This is how the default first person character does it, but it’s fine as long as you’re activating that AddMappingContext node:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/e/4ee60f75de1fed1b0c34c93c83268759be28d3fb.jpeg)

Also, ensure that input works at all. Maybe like so:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/c/f3ccb46a881e0d1b0874dc21b7266518282ae6e4.png)

---

<div class="post-metadata">

**Author:** ![ShatteredGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShatteredGames](https://forums.unrealengine.com/u/ShatteredGames)\
**Post date:** [February 17, 2023, 6:56pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/9 "2023-02-17T18:56:42Z")

</div>

Waaaaiiiit a minute…

I have to call both of these:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/9/3598799e3b409565e3cf84c9b524088a07c2990f.png)

And THEN add the mappable keys like this!?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/6/9c6675932ae3fa906aed0a315fa8af68fb2c2211.png)

This would be really counter-intuitive

EDIT: It works… Oh lord. Thanks for pointing that out! Really helped me there!

---

<div class="post-metadata">

**Author:** ![EliteGamesNet](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/elitegamesnet/32/1148467_2.png) [@EliteGamesNet](https://forums.unrealengine.com/u/EliteGamesNet)\
**Post date:** [May 8, 2024, 9:30am UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/10 "2024-05-08T09:30:40Z")

</div>

In case anyone stumbles on this thread: It was deprecated and currently makes sense only if you on 5.1 or 5.2.  
[https://www.reddit.com/r/UnrealEngine5/comments/16hywoj/why/](https://www.reddit.com/r/UnrealEngine5/comments/16hywoj/why/)  
at 5.3+ you can’t access ‘Player Mappable Options’ structure.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/d/e6d2dbd6755242051055d155f66b78f8785db357.png)

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [May 8, 2024, 2:52pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/11 "2024-05-08T14:52:52Z")

</div>

Ah- right. I meant to update when 5.3 came out. Let’s hope they don’t change too quickly this time.

In more recent versions the process has been simplified to the point it barely even needs a guide, but in case someone’s reading to the bottom of this thread, here’s what you need to do to get the mapped keys:

1. Make sure all your contexts are registered with the input settings object (ignore RefVPlayerController, that’s custom- just get your player controller)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/b/73bbe30657e9b1140516d534e356a53b0b4c420a.png)
2. Get the current key profile, and from there get the player mapped keys  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/4/924970829e5865c27ebe3cf9679da31fd5461b7a.png)
3. With that, you can then find a mapped key and get the mappings from it. To actually do anything useful you’ll need to change it from a set to an array using the ToArray node.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/0/bc0772351e6e8f03cd347abfc0b005167ad0e196.png)

---

<div class="post-metadata">

**Author:** ![Justrenis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Justrenis](https://forums.unrealengine.com/u/Justrenis)\
**Post date:** [August 17, 2024, 12:50pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/12 "2024-08-17T12:50:36Z")

</div>

PlayerMappingRows is empty… Everything else is completely fine up to that point.

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [August 18, 2024, 12:19am UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/13 "2024-08-18T00:19:51Z")

</div>

If you aren’t getting any errors for accessing none, make sure your input actions have player mappable key settings set. The Name has to be something unique and valid, but DisplayName can be anything. The latter is what’s used for localization.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/5/1858a2ba7a882d347f0a9ce939c74d51fe39a664.png)

---

<div class="post-metadata">

**Author:** ![Corteno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Corteno](https://forums.unrealengine.com/u/Corteno)\
**Post date:** [February 6, 2025, 4:24pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/14 "2025-02-06T16:24:21Z")

</div>

_This is for engine version 5.5_

I had the same issue and after some digging in the code I found out that by default the `AddMappingContext` function doesn’t notify the `EnhanchedInputUserSettings`.

In BP it can be remedied like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/8/828d9744b890f9cc969b7c9c77c84536ca2b54c5.png)

and in C++ like this:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/4/6648e7d4596eacc0c4901121fdf204b1e2559c15.png)

I hope this helps!

---

<div class="post-metadata">

**Author:** ![oarsay](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oarsay/32/1065384_2.png) [@oarsay](https://forums.unrealengine.com/u/oarsay)\
**Post date:** [May 18, 2025, 11:00pm UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/15 "2025-05-18T23:00:47Z")

</div>

I’ve been trying to find and fix the issue in my code literally for the past 10 hours straight. I tried dozens of methods, but this one finally worked. Just a quick note: in my case, I had to check all the boxes, including “force immediately”. Some heroes don’t wear capes bro, thank you so much.

---

<div class="post-metadata">

**Author:** ![BigaCubensis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BigaCubensis](https://forums.unrealengine.com/u/BigaCubensis)\
**Post date:** [January 12, 2026, 11:21am UTC](https://forums.unrealengine.com/t/cant-get-player-mappable-actions/771086/16 "2026-01-12T11:21:22Z")

</div>

I spent days figuring it out and nothing. Thanks for the solution!
