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
- [Usability] Selecting Animations Clips in a Blend Tree's Motion List does not Visualize their Weight if all Weights have been enabled previously
- Unity Version Control “Create a new workspace” window text boxes expand vertically when inputting a very long text and covers the whole window
- A Blend Tree's Visualization is not repainted when a Blend Tree's Parameters change in Play Mode
- Cursor size and resolution is inaccurate when switching the 'Default Cursor' field
- Lightmapping delegate not called for first scene when baking via "-executeMethod" on editor launch
Resolution Note (fix version 1.1.0-pre.6):
Fixed in: Input System 1.1.0-pre.6