Search Issue Tracker
Fixed
Fixed in 6000.2.8f1, 6000.3.0b6, 6000.4.0a2
Votes
2
Found in
6000.2.0b5
6000.3.0a1
6000.4.0a1
Issue ID
UUM-108902
Regression
Yes
[Vulkan] The shader compiler shows an "undeclared identifier '_BaseMap_ST'" error when compiling a specific shader
Reproduction steps:
1. Open the attached “IN-103129“ project
2. Select the Android Build Platform and/or the Vulkan Graphics API
3. In the Project window, select the “Assets/Broken Shader\_Vulkan_6_1_XRMotionVectorsFailCompilation_Test.shadergraph” asset
4. In the Inspector, press "Compile and show code"
5. Observe the Inspector
Expected result: No errors
Actual result: An “'undeclared identifier '_BaseMap_ST'“ error appears
Reproducible with: 6000.1.0a8, 6000.1.7f1, 6000.2.0b5
Not reproducible with: 2022.3.63f1, 6000.0.51f1, 6000.1.0a7
Reproducible environments: Windows 10 (by reporter), macOS 15.5
Not reproducible environments: No other environments tested
Comments (1)
Add comment
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 ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
- Inconsistent “Favorites” icon highlight in Unity Hub
- "Could not connect project. Try again" Hub error is not informative/does not inform the user with the reason why it failed when connecting a project to cloud with a name that's too long
Pav-FitXR
Jul 08, 2025 10:59
The issue happens only in SRP SpaceWarp compatible cases where user declared _ALPHATEST_ON keyword in their shader graph.
The bug seems to step from the fact that XRMotionVectors makes use of/includes ObjectMotionVectors.hlsl regardless of whether SpaceWarp is actually enabled.
causing a conflict in said .hlsl file due to presence of _ALPHATEST_ON keyword on the shader.