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
- Component Glyphs value is truncated and Ligature Table glyph fields become inaccessible when increasing the Component Glyphs count
- There is no “Overwrite Preset?” popup when saving a Customizable Toolbar preset with a name that already exists
- Customizable Toolbar preset does not switch to the Unity Default Preset when Reverting All Saved Presets or deleting the active Preset
- New Hierarchy visibility and pickability icon behavior differs from documentation
- [Usability] Selected node gets unselected when undoing changes in the Graph Inspector Node Settings tab
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.