Hi,
I can’t use the Input System anymore. If I use the input system 1.5.0, it works in editor but not in build (see Stack Overflow on build due to Input System 1.5.0 ). If I use the input system 1.5.1, I have an error when trying to create a new input actions asset in editor :
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.5.1/InputSystem/Editor/AssetImporter/InputActionImporter.cs:95)
UnityEditor.AssetImporters.ScriptedImporter.GenerateAssetData (UnityEditor.AssetImporters.AssetImportContext ctx) (at <3d77f9e52a364b2f825fba70966192a5>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
It makes my input actions assets unusuable so I can’t use it anymore (reimporting the asset triggers the errors everytime).
It happens even when creating an empty URP 3D projet (with adding just the input system). I’m using Unity 2022.2.8f1 on a Windows computer. I don’t have this problem on my Mac M1 Max computer.