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
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
- Low FPS in the Game View when the Editor window loses focus
- Memory leak when a domain is reloaded on a Scene that uses HDRP's water simulation resources
Resolution Note (fix version 1.1-pre.6):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1334