Search Issue Tracker
Won't Fix
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&)
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
- Crash on ConvertBufferToEXRBuffer when Lighting Generation is cancelled
- [URP] TrailEffect in URP package samples does not draw Trail Effect
- "NullReferenceException" error is thrown when calling UIDocument.runtimePanel in OnEnable with ExecuteInEditMode
- Graphics.Blit() performs the operation only to the last display when a multi-display environment is used
- [Windows] Multiple Separation Lines are present in the Light Create Menu
Resolution Note:
There are no fixes planned for this Bug