Search Issue Tracker

In Progress

Fix In Review for 6000.4.0b5

Fixed in 6000.3.2f1, 6000.5.0a4

In Progress in 6000.5.X

Votes

0

Found in

6000.3.0f1

6000.4.0a5

6000.5.0a2

Issue ID

UUM-128761

Regression

Yes

BlitRendererFeature in URP RenderGraph Samples contains an unused variable  scaleBias

SRP Templates

-

Steps to reproduce:

  1. Create a URP 3D Project
  2. Open Package Manager Window
  3. Switch to Samples Tab
  4. Import URP RenderGraph Samples 
  5. Open the BlitRendererFeature script in the URP RenderGraph Samples/BlitWithFrameData
  6. Check the scaleBias variable

Actual results: scaleBias variable is declared, but not used in the Sample

Expected results: Samples do not contain unused code

Reproducible with versions: 6000.3.0b7, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2

Not reproducible with versions: 6000.0.63f1, 6000.2.14f1, 6000.3.0b6

Tested on (OS): macOS 26.1, Ubuntu 24.04

Notes:

  • In 6000.3.0b6 or below, scaleBias was used in the Execute Pass method which is no longer present
  1. Resolution Note (fix version 6000.5.0a4):

    An old scaleBias variable was still present in the code but was no longer used.
    This is legacy code inherited from a previous API.
    The variable has now been removed, and moreover, BlitWithFrameData is a full-screen effect.

  2. Resolution Note (fix version 6000.4.0b5):

    Remove of an unused variable: scaleBiais.

    The BlitWithFrameData API performs a full-frame blit and does not use the scaleBias variable in its implementation.
    This variable originates from an older API and should therefore be removed.

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.