Search Issue Tracker
Fixed in 1.1-pre.6
Votes
3
Found in [Package]
preview - 1.0.0
Issue ID
1259577
Regression
No
An error is thrown when deleting an Input Action and entering Play mode
How to reproduce:
1. Open the attached 'project-1259577.zip' project
2. Enter/Exit Play mode (no error should be thrown)
3. Open the 'Controls' asset
4. Delete the 'TestAction' action
5. Press the 'Save Asset' button
6. Enter Play mode
7. Observe the Console window
Expected result: no error should be thrown
Actual result: an error is thrown
Reproducible with: 2019.4.3f1, 2020.1.0b15, 2020.2.0a17 (preview - 1.0.0, 1.0.0)
Could not test with: 2018.4.24f1 (and lower Input System package versions) due to incompatibilities
Thrown error:
Cannot find action 'TestMap/TestAction[/Keyboard/space]' with ID '94026b3b-de17-477b-ace8-1634fc257995' in 'Controls (UnityEngine.InputSystem.InputActionAsset)
UnityEngine.InputSystem.PlayerInput:OnEnable() (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Plugins/PlayerInput/PlayerInput.cs:1564)
Note: opening the Inspector window of the game object with the 'Player Input' asset that the Input Map is referencing, solves the issue and error is no longer thrown
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note (fix version 1.1-pre.6):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1334