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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note (2020.1.X):
LOw Priority defect, unlikely to be fix for the near future.