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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
This has already been fixed 1.11.2.