Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X
Votes
0
Found in
2021.2
2021.2.0a17
2022.1
Issue ID
1334240
Regression
No
Shaders fail compilation on Vulkan/GL when Material Override is set to Albedo
How to reproduce:
1. Open the attached "HLSLcc-uintBitsToFloat-repro.zip" project
2. Extract the "modified-graphics-packages.zip" to the Packages folder
3. Go to Window -> Analysis -> Rendering Debugger
4. Set the "Material Override" to "Albedo"
Expected result: No errors are thrown in the Console log
Actual result: "Shader error in 'Universal Render Pipeline/Lit': glslang: '' : compilation terminated at line 659 (on vulkan)" error message is thrown in the Console log
Reproducible with: 2021.2.0a4-2021.2.0a16
Could not test with: 2021.2.0a3 and below (The custom packages are not supported)
Note:
- Issue is not reproducible with DX11
- No repro on Metal
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a13
Resolution Note (fix version 2021.2):
Fixed in 2021.2.1f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.23f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.33f1
Resolution Note:
Fixed in 2021.1.28f1