Search Issue Tracker
Fixed in 1.1.0-pre.6
Votes
1
Found in [Package]
preview.3 - 1.0.0.
Issue ID
1199544
Regression
No
[Input System] Properties are not visible and InvalidOperationException is thrown on selecting InputActionImporter preset asset
InvalidOperationException and ArgumentException errors are thrown on selecting InputActionImporter preset asset. Unabl to edit InputActionImporter preset asset properties.
Steps to repro:
1. Create a new project.
2. Window > Package Manager > Input System > Install.
3. Project Window > Right Click > Create > Input Actions.
4. Enable "Generate C# Class" checkbox > Apply > Create its preset.
5. Select InputActionImporter preset asset.
Actual Result:
InvalidOperationException and ArgumentException errors are thrown in the console.
Expected Result:
No errors in the console.
Tested with Unity Version: 2020.1.0a13, 2019.3.0b12, 2019.2.0f1.
Reproducible in Package Version: preview.3 - 1.0.0, preview.2 - 1.0.0, preview.1 - 1.0.0, preview - 1.0.0, preview.2 - 0.2.10.
Environment:
Windows 10 & Mac 10.14.
Stack trace:
InvalidOperationException: Asset editor has not been initialized yet
UnityEngine.InputSystem.Editor.InputActionImporterEditor.GetAsset () (at library/packagecache/com.unity.inputsystem@1.0.0-preview.3/inputsystem/editor/assetimporter/inputactionimportereditor.cs:87)
UnityEngine.InputSystem.Editor.InputActionImporterEditor.OnInspectorGUI () (at library/packagecache/com.unity.inputsystem@1.0.0-preview.3/inputsystem/editor/assetimporter/inputactionimportereditor.cs:42)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass55_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
===============================================
ArgumentException: GUILayout: Mismatched LayoutGroup.repaint
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at <023540da4c6041d9a2d1762b4d9d517c>:0)
UnityEngine.GUILayout.BeginHorizontal (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <023540da4c6041d9a2d1762b4d9d517c>:0)
UnityEngine.GUILayout.BeginHorizontal (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <023540da4c6041d9a2d1762b4d9d517c>:0)
UnityEditor.Editor.DrawHeaderGUI (UnityEditor.Editor editor, System.String header, System.Single leftMargin) (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Editor.DrawHeaderGUI (UnityEditor.Editor editor, System.String header) (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Editor.OnHeaderGUI () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Editor.DrawHeaderFromInsideHierarchy () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Editor.DrawHeader () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass55_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <f77adbe680d5435ab56e2403863ec057>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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
- “STP” in Project window > Advanced Upscalers by Priority menu list is shown as available to add when it is already added to the list
- Rename fails with an error “Canceling DisplayDialog” when renaming a Mipmap Limit Group in Project Settings > Quality after adding a new group
- Obsolete API warning CS0618: 'HDAdditionalLightData.SetIntensity(float)' is thrown when installing “Output Event Helpers” Samples to the project
- Misaligned “Show Property Gizmo” and affected “Color” field in Inspector of a VFX Asset
- UIElements Style.translate is shifted down on the Y axis when in Play Mode
Resolution Note (fix version 1.1.0-pre.6):
Fixed in: Input System 1.1.0-pre.6