Search Issue Tracker

By Design

Votes

0

Found in

2020.3.40f1

2021.3.11f1

Issue ID

UUM-16942

Regression

No

One Viewport becomes not visible in the Game view when changing the Viewport Rect values

-

How to reproduce:

1. Open the user-attached “URPSampleScene.zip“ project from Google Drive
2. In the Hierarchy select “Main Camera“ object
3. In the Inspector, change the X or Y values in the Viewport Rect setting
4. Observe how the camera display behaves in the Game view window

Expected result: Both viewports from the cameras are visible in the Game view.
Actual result: Only one camera’s viewport is visible when changing the X or Y values.

Reproducible with: 2020.3.40f1, 2021.3.11f1
Could not reproduce with: 2022.1.19f1, 2022.2.0b10, 2023.1.0a13 (Only one camera’s viewport could be seen in the Game view)

Reproducible on: macOS 11.6.5 (Intel)

Note: A video illustrating the issue is attached

  1. Resolution Note:

    You should not depend on Uninitialize functionality as it also depends on platform (etc. mobile tiled-gpu can request clear even if it uninitialized, in mobile its called "don't care")

    If you want to render two cameras on each other, use camera stacking feature for it.

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.