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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
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