Search Issue Tracker
Fixed
Fixed in 2022.3.18f1, 2023.2.7f1, 2023.3.0b3, 7000.0.0a1
Votes
0
Found in
2022.3.15f1
2023.2.3f1
2023.3.0a17
Issue ID
UUM-59188
Regression
Yes
"Shader vertex program 'vert': Unrecognized sampler" error occurs when compiling shader with Vulkan API
Reproduction steps:
1. Open the attached project “sample_texturecube_vulkan_bug_repro“
2. Open Edit > Project settings > Player settings window
3. Uncheck Auto Graphics API for Windows checkbox
4. Leave only “Vulkan“ label in the Graphics APIs for Windows list and restart Editor
5. Select shader “Deferred“ in Assets/Resources/Shaders
6. Click “Compile and show code“ button in the Inspector
7. Observe Console window
Expected result: Console registers no errors
Actual result: The error “Shader error in 'PugRP/Deferred': Vertex program 'vert': Unrecognized sampler 'sampler_pointshadowatlas' - does not match any texture and is not a recognized inline name (should contain filter and wrap modes). at line 1 (on vulkan)“ is continuously logged in Console
Reproducible with: 2022.1.0a6, 2022.3.15f1, 2023.2.3f1, 2023.3.0a17
Not reproducible with: 2021.3.33f1, 2022.1.0a5
Reproducible on: Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment