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
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
- [Linux] "Error while reading movie" errors are thrown when opening templates
- Shader warnings are being thrown after building Mixed Reality Template
Resolution Note (2020.1.X):
LOw Priority defect, unlikely to be fix for the near future.