It seems that, on version 1.12, you can't set the camera near clip plane to anything closer than the setting the user has set in Magic Leap Settings -> Display -> Advanced- > Near Boundary. It will just be overwritten by the Near Boundary system setting.
However, I am still experiencing, like you, that the old 0.37m distance is being set on the camera on Awake regardless of the system Near Boundary setting being lower. It seems that the MagicLeapCamera.cs calls its FixupCamera() function on Awake which will set the camera near clip plane to 0.37m if fixProblemsOnStartup is true.
But if I apply the camera near clip setting a bit later (after Awake) I am able to make it retain that setting (if it is within the limit set in Near Boundary system setting).
Currently the Magic Leap does not allow developers to move the clipping plane closer than 0.25 (based on users comfort settings which can be set inside Settings) . This is to reduce discomfort and eye strain .
my use case is hand mesh occlusion and hand-attached UI
if you could please share with the team that when we presented a Magic Leap 2 beside an Apple Vision Pro to an energy company executive, he selected the Apple Vision Pro because of this specific reason - they thought the ML hand tracking was broken because the hands kept clipping
Hi,
Is there any improvements on that We are also having the same issue. We really need to reduce it to something like 5-4 cm it does not help for detailed interactions..
The minimum clipping plane is enforced to reduce eye strain and make sure the experiences are comfortable for the users. You can use the near clip policy to allow users to adjust the minimum clipping plane in the settings. However we do not allow specifying a lower clipping plane than the range provided by the system:
@brs_kes Decreasing it lower than the minimum is not supported as it can cause eye strain and nausea. While the ability to bypass the limit is not currently on our roadmap, I will share your feedback with our voice of customer team.
Please lat least let it go down to .1 or .05. or give us a workaround to override it. HL2 allowed lower near clipping and there were not problems with eyestrain.
@kbabilinski problem is we have a project with Hololens 2 and it allows really low near planes. And we are porting it to Magic leap 2 our users got used to that and believe me no one got any health issues
if there is a work around for that please let us know and I can show a message and let user to select between 2cm to 25cm and tell the possible problems.