Skip to content

Commit

Permalink
Merge pull request #423 from De-Panther/fix_onhandupdate_unsubscribe
Browse files Browse the repository at this point in the history
Fixed WebXRInputSystem unsubscribe OnHandUpdate OnDisable
  • Loading branch information
De-Panther authored Feb 25, 2025
2 parents afec992 + 145d5c0 commit daaefe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Packages/webxr-interactions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- WebXRInputSystem unsubscribe OnHandUpdate OnDisable. (Issue #422)

## [0.22.0] - 2024-02-25
### Added
- Sample Scene - Built-in Render Pipeline.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void OnDisable()
WebXRManager.OnXRChange -= OnXRChange;
WebXRManager.OnControllerUpdate -= OnControllerUpdate;
#if XR_HANDS_1_1_OR_NEWER
WebXRManager.OnHandUpdate += OnHandUpdate;
WebXRManager.OnHandUpdate -= OnHandUpdate;
webXRHandsSubsystem?.Stop();
subsystemUpdater?.Stop();
#endif
Expand Down

0 comments on commit daaefe4

Please sign in to comment.