UI bug with build starting from 2020.3.35f1 and up

Hello,
We experience a weird UI bug with builds, the issue being that the right side of the screen is not registered properly. I was able to even reproduce the issue in a new project, here is how.

  • Create a new 3D project with 2020.3.35f1
  • In the sample scene, create a new canvas and attach an image component to it
  • I modified the code from daveMennenoh in the post below so that instead of printing it writes it on a text component on the canvas
    How to detect if mouse is over UI?
  • Next in Edit>Project Settings>Player>Resolution and Presentation
  • Fullscreen Mode: Windowed
  • Resizable Window: true

In the editor, it is all good.
Once you make a build the issue is present - rescale the window a little bit, make the width wider for example. Hovering over the right side of the screen, using the mouse, results in “Not over UI”.
The bug was also there in the current 2021 LTS version.

If anyone can help solve this that would be appreciated.

2 Likes

Hi! I’m facing the same issue with 2022.1.1f1 (and 2022.2.0a16). Have you found a solution?
It seems to me that the affected area is everything to the right of an imaginary 16:9 rectangle filling the middle of the screen.

No sorry. Currently back to 2020.3.33f1 where the bug is not present. I also tested a 2021.3.4f1 version and the bug was there as well.

1 Like

Same here. Resizing window to more than 16/9 make ui interactions on right size slightly off or completly unclickable.

2021.3.2f1 does not have this bug.

same happen this problem on my project…
do you have a solution anyware?

I got an answer for my bug report and it is a known issue, you can follow here:

They suggest a workaround in there so check it out!

@MiroMarionette , if you send the bug report to the QA team, despite it being a known issue, they will ask you to update to the latest LTS version. If you are doing this on a personal computer rather than office, then you seriously should consider the LTS version. It’s stable and you don’t have to waste time puzzling out if any problems exist. Problems should still be in the LTS version, but this is rare, not as bad as the non-LTS ones.