Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.65f1

6000.3.3f1

6000.4.0b3

6000.5.0a4

Issue ID

UUM-132686

Regression

No

UI Shader Graph throws 'UnityDisplayOrientationPreTransform' error when Android is the selected platform

UI Toolkit Graphics

-

How to reproduce:
1. Create a new URP Project
2. Create a new UI Shader Graph (Create → Shader Graph → URP → UI Shader Graph)
3. Select the created Shader Graph
4. In the Inspector press on “Compile and show code”
5. Observe the Console

Actual result: ShaderGraph throws an error and you cannot see elements with the shader material applied
Expected result: No errors are thrown

Reproducible with: 6000.0.65f1, 6000.3.0a5 (f9a1fab5607a), 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Could not test with: 6000.3.0a4 (No UI Shader Graph option)

Reproducible on: MacOS Sequoia 15.7.2 (M1 Max)
Not reproducible on: No other environments tested

Notes:
- Does not reproduce when Mac or iOS platform is selected
- Thrown error: “redefinition of ‘UnityDisplayOrientationPreTransform' at /Applications/Unity/Hub/Editor/6000.5.0a3/Unity.app/Contents/Resources/CGIncludes/HLSLSupport.cginc(978) (on vulkan)”

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.