Unity UI Bug at Wider Resolutions Not sure if just me.

UPDATE: This is a bug with unity. If you want to help get this fixed, please vote.

I am having a weird bug that I am not sure how to solve. When I make the window too wide, the ui starts acting weird. The colliders for buttons are no longer over the buttons themselves and are now off.

What it looks like is happening is the ui colliders are thinking the resolution is different than what the actual resolution is. Anyone have any idea on where to start fixing something like this?

how to recreate:

  • Unity 2021.3.6f1
  • new project
  • add tmpro button
  • import basic tmpro assets
  • move the button to the top right of canvas and anchor to that corner
  • set the colors (normal color, highlighted color, etc) to different colors so it is easy to see.
  • edit → project settings → player->resolution and presentation
  • fullscreen mode: windowed
  • Width height: 800, 600
  • resizable window = checked
  • build game as release build
  • stretch screen nice and wide
  • mouse over button. none or only part of the button should be selectable.

Link to video

What I think is happening:

Unity 2021.3.6f1
windows 10
built on wide screen monitor

Link to Test project

In the build, increase the width of the window nice and wide and you should start to see it.

Could you submit this though the bug reporter tool please?

Jira Service Management done

1 Like

UPDATE: This is a bug with unity. If you want to help get this fixed, please vote.