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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1