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
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
Resolution Note (fix version 1.1.0-pre.6):
Fixed in: Input System 1.1.0-pre.6