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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Add comment