# Escape Key Not Working After Packaging Game

**URL:** <https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729>\
**Category:** Platform & Builds\
**Tags:** broken, unreal-engine, packaged-game, question\
**Created:** [May 21, 2021, 10:35pm UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729 "2021-05-21T22:35:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PenumbraCEO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PenumbraCEO](https://forums.unrealengine.com/u/PenumbraCEO)\
**Post date:** [May 21, 2021, 10:35pm UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729/1 "2021-05-21T22:35:40Z")

</div>

I have a game that was working fine after several packaging evolutions and then when I remapped the escape menu to just the escape key instead of shift+escape, that I was using for testing, it won’t work in the packaged game but it works in the standalone player just fine.

However it still lets me use Tab to get into my inventory menus and “I” to get into my in game stats and everything, so it’s not just an issue with menus in general. All other controls seem to work fine.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 22, 2021, 8:50am UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729/2 "2021-05-22T08:50:19Z")

</div>

I think the escape key loses it’s mapping in a packaged game, unless you specifically map it in the project settings as an action event.

---

<div class="post-metadata">

**Author:** ![PenumbraCEO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PenumbraCEO](https://forums.unrealengine.com/u/PenumbraCEO)\
**Post date:** [May 22, 2021, 9:13pm UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729/3 "2021-05-22T21:13:46Z")

</div>

I’ve tried:  
validating the project data  
repackaging from scratch  
changing inputs back and forth to try and clear any sort of cache there might be  
rebuilding the “escmenu” input node

I can remap it to, for instance F1 and all the menus still work fine, but if I use escape or escape with modifiers it won’t work in the packaged version.

---

<div class="post-metadata">

**Author:** ![PenumbraCEO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PenumbraCEO](https://forums.unrealengine.com/u/PenumbraCEO)\
**Post date:** [May 22, 2021, 9:13pm UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729/4 "2021-05-22T21:13:59Z")

</div>

It is. It works in standalone but not packaged.

---

<div class="post-metadata">

**Author:** ![PenumbraCEO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PenumbraCEO](https://forums.unrealengine.com/u/PenumbraCEO)\
**Post date:** [May 22, 2021, 9:14pm UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729/5 "2021-05-22T21:14:02Z")

</div>

I don’t know why it works, and it seems to only be a sort of workaround but if you manually remove the keybinding and then re-add it in, for instance, the player controller (not in project settings), it works again in the packaged game.

 ![339459-keys.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/1/5319986a12453985e05eff0192e8aa020519efdd.png)

---

<div class="post-metadata">

**Author:** ![Amyseqmedia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amyseqmedia](https://forums.unrealengine.com/u/Amyseqmedia)\
**Post date:** [February 9, 2024, 11:14pm UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729/6 "2024-02-09T23:14:10Z")

</div>

This is 2 years old but it keeps coming up as the top search result for me. This solved the issue for me in Unreal 5.3. Ignore tutorials telling you to go to Project Settings \> Input; Input Mapping Context is the way now.

1. get rid of random keyboard presses. Search all blueprints for “pressed” events and make sure you didn’t bind the Esc key to any random node.

2. edit your main IMC (e.g. your template might have IMC\_Default). If not then create a new Input Mapping Context: Content Browser \> Add \> Input \> Input Mapping Context.

3. create an Input Action to receive your Esc key, e.g. create an IA\_Menu.

4. go back to the IMC your created and click plus (+) to add a new Mappings, select your new IA\_menu, click the plus (+) to add a mapping, choose Keyboard \> Escape.

Also, you have to make sure that your player is responding to the IMC. You may have to add an Add Mapping Context node that references the Enhanced Input Local Player Subsystem.

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

---

<div class="post-metadata">

**Author:** ![AaronKoss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aaronkoss/32/769432_2.png) [@AaronKoss](https://forums.unrealengine.com/u/AaronKoss)\
**Post date:** [July 30, 2024, 5:12pm UTC](https://forums.unrealengine.com/t/escape-key-not-working-after-packaging-game/483729/7 "2024-07-30T17:12:16Z")

</div>

> get rid of random keyboard presses. Search all blueprints for “pressed” events and make sure you didn’t bind the Esc key to any random node.

Thank you so much. My problem was I had somewhere a hardcoded esc key mapped and that’s why the IMC was not working, despite everything else being correctly setup.
