Search Issue Tracker

Fixed

Fixed in 6000.3.15f1, 6000.5.0b6, 6000.6.0a4

Votes

1

Found in

6000.3.12f1

6000.3.13f1

6000.4.0f1

6000.4.1f1

6000.4.2f1

6000.5.0b2

6000.6.0a3

Issue ID

UUM-139001

Regression

Yes

Switching platforms will trigger shader-related warnings (TraceTransparentRays)

Lighting

-

Description
Switching platforms will trigger shader-related warnings.

■Warning Details
{code:java}
Shader warning in 'TraceTransparentRays': use of potentially uninitialized variable (UnifiedRT::RayQuery::Proceed) at kernel MainRayGenShader at project/Library/PackageCache/com.unity.render-pipelines.core@beca2a4be9a2/Runtime/UnifiedRayTracing/Compute/RayQuerySoftware.hlsl(245) (on vulkan)

Shader warning in 'TraceTransparentRays': use of potentially uninitialized variable (UnifiedRT::RayQuery::Proceed) at kernel MainRayGenShader at project/Library/PackageCache/com.unity.render-pipelines.core@beca2a4be9a2/Runtime/UnifiedRayTracing/Compute/RayQuerySoftware.hlsl(246) (on vulkan) {code}
 
Note:
- Occurs in projects using Universal RP
- Occurs from 6000.3.12f1 and 6000.4.0f1
- Occurs when changing the Windows Graphics API to Vulkan
- Occurs when switching platforms to iOS
- Does not occur in projects using Built-In RP or HDRP

Initial setup:
6000.3.13f1
Render Pipeline: Universal RP

Steps to reproduce:

  1. Open a new project using Universal 3D Template
  2. Switch platform to Android

Actual behavior:
Shader warning appears in the Console window

Expected behavior:
Platform switches successfully without the mentioned shader related warnings.

Reproducible with versions:   6000.3.12f1, 6000.3.13f1, 6000.4.0f1, 6000.4.1f1, 6000.4.2f1
(For Windows with Vulkan, Android, iOS)

Not reproducible with versions: 6000.3.11f1, 6000.4.0b11, 6000.5.0a9, 6000.6.0a1

  1. Resolution Note:

    all ports landed

  2. Resolution Note (fix version 6000.6.0a4):

    Fixed in 6000.6.0a4

  3. Resolution Note (fix version 6000.6.0a4):

    all ports landed

  4. Resolution Note (fix version 6000.5.0b6):

    Fixed in 6000.5.0b6

  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.