How to reproduce:
1. Open the attached user project “TestNewInputSystem.zip“
2. Open Scene “TestScene“ (Assets/Scenes)
3. Select the “MyInputActions“ asset in Assets and press “Edit asset“ in the Inspector
4. In the MyInputActions window, right click on the “ActionMap“ Action Map and press “Duplicate“
5. Delete the old “ActionMap“ Action Map
6. Enter Play Mode
Expected result: No errors in the Console
Actual result: “Cannot find action map 'ActionMap' in actions 'MyInputActions (UnityEngine.InputSystem.InputActionAsset)'“ error in the Console
Reproducible with: 1.4.4(2020.3.45f1, 2021.3.18f1, 2022.2.5f1, 2023.1.0b2), 1.5.0 (2020.3.45f1, 2021.3.20f1, 2022.2.9f1, 2023.1.0b5, 2023.2.0a4)
Reproduced on: macOS 13.0.1 (Intel)
Notes: