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
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
- [UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework
- A white vertical artifact is present when any Material from HDRI is used for a panoramic skybox
- Editor freezes when handling Havok collision interactions between a thin collider and the player controller
- No blue outline is shown on a folder in the Project tab when an external file is being dragged over the folder
Add comment