Skip to content

Commit c262725

Browse files
committed
marked area of concern with comment
1 parent 762b2b6 commit c262725

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/ControlPicker/InputControlPathEditor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ private void ShowDropdown(Rect rect, SerializedProperty serializedProperty, Acti
179179

180180
m_PickerDropdown.SetPickedCallback(path =>
181181
{
182+
//At this point, the serialized property can sometines be referencing the old input actions asset
183+
Debug.Log(serializedProperty.serializedObject.targetObject.GetInstanceID());
182184
serializedProperty.stringValue = path;
183185
m_PickerState.manualPathEditMode = false;
184186
modifiedCallback();

0 commit comments

Comments
 (0)