Search Issue Tracker
Duplicate
Votes
64
Found in
5.0.2f1
Issue ID
704405
Regression
No
Button position is wrong on fullscreen player which aspect ratio is different then monitor's
Steps to reproduce:
1. Open attached project's scene "BrokenButton".
2. Check how button is highlighted.
3. Build and run project.
4. Choose 1024x768 resolution on 16x9 monitor. (fullscreen)
5. Hit Play! and observe how button gets highlighted.
-
pci
Jul 12, 2015 19:08
I have the same problem. Buttons highlight fine in editor. Stand-alone full screen the area that causes the button to highlight is shifted to the left.
Dual-monitor setup. I'm running the app on 1920x1200. The launcher defaults to 1024x768 which has the offset problem, If I actually select 1920x1200 then the buttons highlight correctly. This is not always ideal for performance. It appears to be an aspect ratio calculation error.
Not sure why lower resolutions render fine, but the mouse does not respond correctly? -
commodore
Jul 10, 2015 17:46
How do I give this issue all of my votes?
-
commodore
Jul 10, 2015 17:42
Same issue here. I have to right click --> Fullscreen for it to work. Super annoying.
-
Jester1928
Jul 01, 2015 16:21
I've had the same issue. The mouse position, it seems, has an x-offset in relation to the actual cursor position. Similarly to Guardian2300, all buttons are placed in the correct positions but interacting with them requires the mouse be to the left of the button. This only happens in full screen mode.
If the cursor is all the way to the left of the screen, the positioning is fine. However, as the cursor moves farther to the right, the offset gets larger. My game, which is 2D, uses a drag & drop mechanic so the difference is easy to spot. I recently ran a playtest and this happened on every machine I ran it on, forcing me to limit play to Windowed mode. -
hadesfury
Jun 25, 2015 13:26
It happens with the last version as well 5.1.1p1
-
Guardian2300
Jun 17, 2015 15:29
I've had this problem as well. The buttons would be in the correct place but when you want to click them, for me I have to get to the left of the button and click for it to work.
-
Tom-Atom
Jun 15, 2015 22:07
Same issue here. All mouse input is incorrectly shifted.
1024x768 is aspect 1.33, which is less than 16x9 monitor with aspect 1.77. Screen is stretched horizontally, but all mouse input is shifted (not only UI items) as if the screen had 1.33 aspect and started in bottom left corner.
If run with -force-d3d9 then game has pillars on sides, but input is correct.
Input is also correct if built for (not recommended) Exclusive mode (either for DX9 or DX11) - it is correct even if screen is stretched.
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
This is a duplicate of issue #715666