Search Issue Tracker

Fixed

Fixed in 6000.3.15f1, 6000.4.5f1, 6000.5.0b6, 6000.6.0a4

Votes

0

Found in

6000.3.12f1

6000.4.1f1

6000.5.0b1

6000.6.0a1

Issue ID

UUM-138049

Regression

Yes

URP RenderGraph throws "RenderTextureDesc height must be greater than zero" when camera pixel height becomes 0 due to small window resolution and fractional viewport rect

Adaptive Performance

-

Reproduction steps:
1. Open the attached "IN-137785_AutoResizerTillCrash.zip" project
2. Build and run the project in Player
3. Wait 15 seconds in the Player, then close it
4. Open File Explorer
5. Navigate to "%USERPROFILE%\AppData\LocalLow\DefaultCompany\AutoResizerTillCrash"
6. Open "Player.log"
7. Press "Ctrl + F" and search for "error"

Actual result: "RenderTextureDesc height must be greater than zero" errors are present
Expected result: No "RenderTextureDesc height must be greater than zero" errors are present

Reproducible with: 6000.3.0a5 (f9a1fab5607a), 6000.3.12f1, 6000.4.1f1, 6000.5.0b1 (c1f81ff5b082), 6000.6.0a1 (7dc703ab9bd8)
Not reproducible with: 6000.0.71f1 (907bc2d768b5), 6000.3.0a4

Reproducible environment: Windows 11
Not reproducible environment: No other environments tested

Note: Issue triggers when the Player window is resized to 2x2 and the Camera viewport rect height is fractional (e.g. <= 0.3), which can make Camera.pixelHeight become 0

  1. Resolution Note:

    Fixed in 6000.6.0a4

  2. Resolution Note (fix version 6000.6.0a4):

    Fixed in 6000.6.0a4

  3. Resolution Note (fix version 6000.5.0b6):

    Fixed in 6000.5.0b6

  4. Resolution Note (fix version 6000.4.5f1):

    Fixed in 6000.4.5f1

  5. Resolution Note (fix version 6000.3.15f1):

    Fixed in 6000.3.15f1

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.