Search Issue Tracker
Fixed
Fixed in 6000.0.0b15
Votes
0
Found in
2023.3.0a14
6000.0.0b11
Issue ID
UUM-57644
Regression
No
XROcclusionMesh.shader and XRMirrorView.shader are not stripped down when XR Plugin is not installed
To reproduce:
# Create a new project with URP samples;
# Add only Cockpit Scene to the build settings;
# Build for Android platform;
# After building is complete, go to your project folder > Temp > shader-stripping.json;
# Check what is the number of variants for _Shaders/XR/XROcclusionMesh.shader and Shaders/XR/XRMirrorView.shader_
Expected result: Number of variants is zero
Actual result: both shaders are not stripped even when XR Plugin is not installed
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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Resolution Note (fix version 6000.0.0b15):
Fixed XROcclusionMesh.shader and XRMirrorView.shader are not stripped down during building step when XR Plugin is not installed