Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2019.4
2020.1
2020.1.14f1
2020.2
2021.1
Issue ID
1298110
Regression
No
[Mac] Event.current.mousePosition always return top-left corner position when it set by Input System
How to reproduce it:
1. Open the user's attached project 'MacMouseGUI.zip'
2. Load 'SampleScene'
3. Open Build Settings and check if 'Development Build' is checked
4. Build and Run the project
5. Click anywhere inside the build several times
6. Observe Development Console in the build
Expected result: Log errors contain different Event.current.mousePosition values
Actual result: Log errors always contain top-left corner position values
Reproducible with: 1.0.0 (2019.4.16f1, 2020.1.17f1), 1.0.1 (2020.2.0f1, 2021.0a10), 1.1.0-preview.2 (2021.1.0a10)
Could not test with: 2018.4.30f1 (Input System is not introduced yet)
Notes:
- Not reproducible on Windows Standalone build
- Not reproducible on Windows and Mac Editor's Play mode
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note (fix version 2022.1):
Fixed in 2021.2.0a18