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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note:
There are no fixes planned for this Bug