Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.3f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1179396
Regression
No
Event.mousePosition returns incorrect mouse position when using OnGUI() in a custom Editor window
How to reproduce:
1. Open the attached 'Bug Report IMGUI.zip' project
2. In the Editor select 'BUG REPORT' > 'Bug Test Window'
3. Drag the cursor to the 'Bug Test Window' window and press CTRL + C keys
4. Observe the Console window
Expected result: actual mouse position (in the 'Bug Test Window' window) is printed
Actual result: mouse position has no impact on the printed message
Reproducible with: 2017.4.32f1, 2018.4.8f1, 2019.2.4f1, 2019.3.0b2, 2020.1.0a3
Note: the printed message returns one of the following values: (0.0, -19.0), (-1.0, -19.0), (0.0, -21.0) and similar, depending on where the custom window is located in the Edtor
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (2020.1.X):
LOw Priority defect, unlikely to be fix for the near future.