1) Open OpenXR Settings (go to Edit > Project Settings > XR Plugin Management > OpenXR). 2) Select Depth 16 Bit from the Depth Submission Mode drop-down menu.
1) Open Windows Mixed Reality Settings (go to Edit > Project Settings > XR Plugin Management > Windows Mixed Reality). 2) Select Depth Buffer 16 Bit from the Depth Buffer Format drop-down menu. 2) Select the Shared Depth Buffer checkbox.
1) Open Player XR Settings (go to Edit > Project Settings > Player > XR Settings). 2) Select the check box for Enable Depth Buffer Sharing under Virtual Reality SDKs > Windows Mixed Reality expansion (Virtual Reality Supported checkbox must be checked). 2) Select 16-bit depth from the Depth Format drop-down menu.