How to override ML2 default 10 meter far clipping plane

Unity Editor version: 2022.3.59f1
ML2 OS version: 1.12.0
Unity SDK version: 2.6.0
Host OS: Windows 11

Hello!
I am having some trouble with overriding the default 10m clipping plane in the Magic Leap 2 headset. I try overriding the clipping plane distance in both the scene main camera and the OpenXR Camera Manager component. Any pointers that help me figure out what is resetting the clipping plane would be very much appreciated. Thanks!

Can you verify the option you have selected in your project settings, open xr settings. Here is some more information.

While the doc mentions the nearclip is also sows the far clip option

I figured it out, the correct approach (for future readers that might stumble upon this thread) was to go to project settings > OpenXR and click on the tiny cogwheel next to “Magic Leap 2 support” and select Far Clip Policy “none”. That seems to use the clipping value as set by the main camera in the scene. I was just unable to understand that it was an option in the list, not a seperate tab. Thanks for your help!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.