Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.3.0a8
2020.1
2020.2
2020.2.0a17
Issue ID
1261326
Regression
No
[macOS] Event.current.type scrollWheel pointerType value is not registered as PointerType.Mouse when the Editor is focused
How to reproduce:
1. Open user-submitted project (PointerEventBroken.zip)
2. Open the SampleScene
3. Enter Play Mode
4. Focus the Game view and scroll the mouse wheel
5. Check the Console window
Expected result: scrollWheel returns 'True' for PointerType.Mouse check
Actual result: scrollWheel returns 'False' for PointerType.Mouse check
Reproducible with: 2019.3.0a8, 2019.4.3f1, 2020.1.0b15, 2020.2.0a17
Could not test with: 2018.4.24f1, 2019.3.0a7(pointerType definition does not exist in Event)
Notes:
Not reproducible on Windows
Unfocusing the Editor and using the scroll wheel while hovering over the Game View returns 'True' for PointerType.Mouse check
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2021.2):
Event.current.type scrollWheel pointerType value is now registered as PointerType.Mouse in the Mac editor
Fixed in 2021.2.0a5