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 ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1