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
- Crash on "StoredGraphicsBuffer::GetGfxBufferID" when activating VFX via extention of Activation Track in Timeline window
- [Linux] Stack trace file path and line number information is missing when IL2CPP Stacktrace Information is set to "Method Name, File Name, and Line Number"
- Warnings due to obsolete Object.FindObjectsByType<T> usage and [SerializeReference] are logged when opening the Netcode for Entities setup scene
- Non-standard pointers cannot change Inspector values with arrow controls when crossing Inspector area
- No longer able to change the Toggle or Slider GameObjects' Target Graphic value and a NullReferenceException is thrown when the Target Graphic value is set to None at any point
Add comment