Description

Reproduced 3/3 times. Issue also occurs in //UE5/Release-5.0 - CL 20979098 Binary. Confirmed NOT a Regression.

The following Blueprint nodes are affected by the same issue:

  • Map Key
  • Unmap Key
  • Add Player Mapped Key
  • Remove Player Mapped Key
Steps to Reproduce
  1. Create a new Blueprint Blank Template Project in the Unreal Editor
  2. Save level currently open as "NewWorld"
  3. By Right-clicking within the Content Browser, create the following assets:
    1. Input > Input Action "IA"
    2. Input > Input Mapping Context "IMC"
    3. Blueprint Class > PlayerController "PC"
    4. Blueprint Class > Game Mode Base "GMB"
  4. In World Setting, set GameMode Override to GMB
  5. Open IMC
  6. Click the + next to "Mappings" in the detail panel
  7. Click the dropdown menu labeled "None" and select IA
  8. Expand the InputAction menu by clicking the arrow on the left hand side
  9. Click the dropdown labeled "None" next to the Keyboard icon then select "1" within the "Keyboard" section
  10. Open PC, wire as follows:
    1. Add "GetPlayerEnhancedInputLocalPlayerSubsystem" node
    2. Drag off from the node to add "Add Mapping Context" node
    3. Select IMC asset in the Mapping Context dropdown
    4. Right click and promote to Variable.
    5. Connect BeginPlay to Add Mapping Context Node
    6. Right-click and add EnhancedInputAction IA
    7. Untick Context Sensitive and add Map Key node
    8. Connect Started in IA to Map Key
    9. Connect IMC variable to Map Key Target
    10. Set Action in Map Key to IA
    11. Compile and Save.
  11. Open GMB
  12. In Details set Classes>Player Controller Class to PC. Compile and save.
  13. PIE & Press 1
  14. Exit PIE

Actual Result: A new Mapping is added to IMC, but no asterisk appears that indicates a savable change. Closing the Editor does not prompt the user to save changes, and IMC loses mapping upon reopening project.

Expected Result: User should be prompted to save changes in IMC when closing the editor.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-170735 in the post.

1
Login to Vote

Unresolved
ComponentUE - Gameplay - Input
Affects Versions5.1
Target Fix5.2
CreatedNov 21, 2022
UpdatedNov 22, 2022