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
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
Resolution Note (fix version 1.1-pre.6):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1334