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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.