Skip to content

Commit 4a7eb48

Browse files
Update SerializedObject in InputActionImporterEditor
Explicitly update the SerializedObject in InputActionImporterEditor.
1 parent 46264f4 commit 4a7eb48

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Packages/com.unity.inputsystem/InputSystem/Editor/AssetImporter/InputActionImporterEditor.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ public override VisualElement CreateInspectorGUI()
2121
var root = new VisualElement();
2222
var inputActionAsset = GetAsset();
2323

24+
// ScriptedImporterEditor in 2019.2 now requires explicitly updating the SerializedObject
25+
// like in other types of editors.
26+
serializedObject.Update();
27+
2428
if (inputActionAsset == null)
2529
{
2630
root.Add(new HelpBox(

0 commit comments

Comments
 (0)