Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.31f1

Issue ID

UUM-53652

Regression

No

Depth surface errors appear when using render scale and a second camera

-

How to reproduce:
1. Download and open the attached "RenderScaleSecondCamera" project
2. Open "SampleScene" scene
3. Enter Play mode
4. In the Hierarchy window, enable the "Ocean" GameObject

Expected outcome: No errors appear in the console window
Actual outcome: "Dimensions of color surface do not match dimensions of depth surface" errors appear

Reproducible with: 2021.3.31f1, 2022.3.11f1, 2023.1.16f1, 2023.2.0b13
Could not test with: 2023.3 (Console errors)
Reproduced on: MacOS (Ventura 13.4)

  1. Resolution Note:

    Closing the ticket, as the errors are related to the water system package in the boat attack demo that we don't officially support.

    To fix the issue we need to the code in the water system package:
    in the file com.unity.urp-water-system\Runtime\Rendering\WaterFXBuffers.c change:
    ConfigureTarget(multiTargets);
    to
    ConfigureTarget(multiTargets, m_BufferTargetA);
    (that's in line 58)

    I'll ask internally to see if there are plans to update this package and push the fix on our side.

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.