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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Resolution Note:
There are no fixes planned for this Bug