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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Add comment