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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1