Search Issue Tracker
Active
Under Consideration for 2022.3.X, 2023.1.X
Votes
0
Found in
2022.2.0a15
2022.2.2f1
2023.1.0a24
Issue ID
UUM-26520
Regression
Yes
"InvalidOperationException" is thrown when creating new Input Action
How to reproduce:
1. Open the project “IN_24666”
2. Create new Input Action
3. Unselect the created Input Action by pressing somewhere else in the Project window
Expected result: Input Action created without errors in the Console
Actual result: errors in the Console and new inputAction references are not created
Reproducible with: 1.4.4 (2022.2.0a15, 2022.2.5f1, 2023.1.0a24)
Not reproducible with: 1.4.4 (2020.3.43f1, 2021.3.16f1, 2022.2.0a14)
Fixed in: 2022.2.6f1, 2022.2.9f1
Reproducible on: Windows 10 Pro
Note: regression in the editor versions not a package itself
Error: Asset import failed, "Assets/New Controls.inputactions" > InvalidOperationException: Failed to add object of type {{{}InputActionAsset{}}}. Check that the definition is in a file of the same name and that it compiles properly.
UnityEngine.InputSystem.Editor.InputActionImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) (at Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Editor/AssetImporter/InputActionImporter.cs:95)
UnityEditor.AssetImporters.ScriptedImporter.GenerateAssetData (UnityEditor.AssetImporters.AssetImportContext ctx) (at <fb4b2b846bd340e1bbba875d5cbe1b24>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Vulkan] Release memory after deleting image
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Crash on internalABP::BoxManager::prepareData when entering Play Mode
- Crash at "UnityEngine.Object:FindObjectsOfType" when quitting the Player
Add comment