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
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
Comments (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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note:
This has already been fixed 1.11.2.