Search Issue Tracker

Active

Votes

0

Found in

6000.0.64f1

6000.3.1f1

6000.4.0b1

6000.5.0a3

Issue ID

UUM-129875

Regression

No

Shader starts acting unexpectedly when SV_primitiveID is used in a Hull/Domain Shader

-

How to reproduce:

  1. Open the “SV_PrimitiveIDBuggy.zip“ project
  2. Open the “bug_primitiveid” Scene
  3. Select the “Assets/ExampleCode/Unlit_NewUnlitShader.mat“
  4. In the Inspector, increase the “Index Value“ from 0 to 1
  5. Observe the Scene view

Actual result: Shader triangles form into a cube regardless of the SV_PrimitiveID value
Expected result: Shader triangles displaced by the value of SV_PrimitiveID

Reproducible in: 2023.1.0a1, 6000.0.64f1, 6000.3.1f1, 6000.4.0b1, 6000.5.0a3

Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested

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.