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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1