Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.3
2020.3.13f1
Issue ID
1367946
Regression
Yes
ScreenToGUIPoint is dependent on the Editor position on the display
How to reproduce:
1. Open project "IMGUI_BUG_TEST.zip"
2. Open "SampleScene" scene (Assets>Scenes>SampleScene)
3. Enter the Play Mode
4. Select "GUI" in the Hierarchy window
5. In the Game window press in different the areas
6. Look at the "Main GUI" script Component at the Inspector window that is showing the cursor coordinates
7. Move the Editor to the other screen and press in different areas again
8. Look at the coordinates in the Inspector window
Expected result: Button is placed where the cursor is
Actual result: Can't see the cursor
Reproducible with: 2020.1.a13, 2020.3.20f1, 2021.1.3f1
Not reproducible with: 2019.4.31f1, 2020.1.a12, 2021.1.4f1, 2021.1.25f1, 2021.2.0b16, 2022.1.0a12
Notes:
- Bug doesn't happen in the Build
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
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1