# InvalidOperationException: Cannot read value for action 'Jump' because the action map 'Gameplay' is not enabled

- **ID:** `unity/input-system-action-map-not-enabled`
- **Domain:** unity
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 95%

## Root Cause

The Input Action Map containing the action is not enabled before trying to read its value, typically because Enable() was not called on the map or the InputActionAsset.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Unity 2022.3 | active | — | — |
| Unity 2023.2 | active | — | — |
| Input System 1.5.0 | active | — | — |
| Input System 1.6.0 | active | — | — |

## Workarounds

1. **In Awake() or Start(), enable the action map before any input read: inputActionAsset.FindActionMap("Gameplay").Enable(); or use inputActionAsset.Enable() to enable all maps.** (95% success)
   ```
   In Awake() or Start(), enable the action map before any input read: inputActionAsset.FindActionMap("Gameplay").Enable(); or use inputActionAsset.Enable() to enable all maps.
   ```
2. **If using PlayerInput component, set the Default Map in the inspector to the desired map, and ensure the component is enabled on the GameObject.** (90% success)
   ```
   If using PlayerInput component, set the Default Map in the inspector to the desired map, and ensure the component is enabled on the GameObject.
   ```
3. **Use InputAction.Enable() on each action after setting up callbacks, but ensure the parent map is also enabled to avoid conflicts.** (85% success)
   ```
   Use InputAction.Enable() on each action after setting up callbacks, but ensure the parent map is also enabled to avoid conflicts.
   ```

## Dead Ends

- **** — Overrides bypass the normal input flow and can cause stale values or conflicts with actual input devices. The action map still remains disabled. (90% fail)
- **** — This defeats the purpose of using action maps for contextual input (e.g., UI vs Gameplay) and may break input switching logic. (85% fail)
- **** — Enabling individual actions without the parent map can lead to inconsistent state and may not register input correctly if the map is disabled. (80% fail)
