Search Issue Tracker

By Design

Votes

0

Found in

2017.4

2018.3.10f1

2020.1

Issue ID

1197923

Regression

No

Canvas rect returning incorrect size when switching aspect ratios in the Game view

uGUI

-

To reproduce:
1) Open the attached project and scene in it
2) Make sure that you can see both Scene and Game views
3) Change aspect ratios in the game view (you might also need to resize it somewhat - check the attached video for example)

Expected: The two rects stay true to Game View
Actual: They become smaller than it/protrude out of it

Reproduced in 2017.4.0f1, 2020.1.0a12

  1. Resolution Note (2020.1.X):

    After discussing with @philip we have decided to resolve this issue as By Design. To fix the issue the user can set the Match value to 0.5 to get events for both width and height changes.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.