Skip to content

Commit e9ffc87

Browse files
FIX: [Port] [ISX-3179] Fixed Input Device Debugger window staying subscribed after closing (#2510)
1 parent 6cb24c0 commit e9ffc87

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎Packages/com.unity.inputsystem/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515
- Fixed the Player Input component Inspector not showing the action map events after the Behavior is set to Invoke Unity Events, until the GameObject was selected again. [UUM-150956](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-150956)
1616
- Fixed a control declared for several variants at once (for example `"variants" : "A;B"`) only merging with derived layouts under its first variant; derived overrides for the other variants lost the base control's layout, offset, format and usages. [UUM-160829](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-160829)
1717
- Fixed duplicate entries appearing in the Input Actions Editor binding path search for some devices, such as Mouse and XR controllers. [UUM-160646](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-160646)
18+
- Fixed closed Input Device Debugger windows staying in memory until the next domain reload. [ISX-3179]
1819

1920
## [1.20.1] - 2026-10-05
2021

‎Packages/com.unity.inputsystem/InputSystem/Editor/Debugger/InputDeviceDebuggerWindow.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ internal void OnDestroy()
9595
InputState.onChange -= OnDeviceStateChange;
9696
InputSystem.onSettingsChange -= NeedControlValueRefresh;
9797
Application.focusChanged -= OnApplicationFocusChange;
98-
EditorApplication.playModeStateChanged += OnPlayModeChange;
98+
EditorApplication.playModeStateChanged -= OnPlayModeChange;
9999
EditorApplication.update -= OnEditorUpdate;
100100
}
101101

0 commit comments

Comments
 (0)