Search Issue Tracker

Not Reproducible

Votes

1

Found in [Package]

1.10.0

Issue ID

ISXB-1034

Regression

No

Missing reference exceptions with the on-screen stick when switching to a scene where on-screen stick is not used

Package: Input System

-

How to reproduce:
1. Open the “OnScreenStickBugRepro“ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Click on the white rectangle
5. Click anywhere on the Game view/Simulator view screen
6. Observe the Console window

Expected result: No errors
Actual result: Errors “MissingReferenceException: The object of type 'UnityEngine.InputSystem.OnScreen.OnScreenStick' has been destroyed but you are still trying to access it.“ and “MissingReferenceException while executing 'canceled' callbacks of 'Pointer Down[/Mouse/leftButton,/Pen/tip,/Device Simulator“ shown

Reproducible with: 1.7.0, 1.8.1, 1.8.2, 1.9.0, 1.10.0 (2021.3.43f1, 2022.3.44f1, 6000.0.17f1)

Reproducible on: macOS 14.5 (Intel), windows 11 (23H2)
Not reproducible on: No other environments tested

Notes:
- Not reproducible with on-screen buttons
- Reproducible in the Player

  1. Resolution Note:

    This has already been fixed 1.11.2.

Comments (1)

  1. ManuelRauber

    Sep 12, 2024 19:39

    Please fix this... there is already a PR for this issue: https://github.com/Unity-Technologies/InputSystem/pull/1960/files

    It's just some lines of code and it's really annoying... :)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.