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

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.