# Custom render cut off unexpectedly by camera's far side clipping plane

**URL:** <https://forum.magicleap.cloud/t/custom-render-cut-off-unexpectedly-by-cameras-far-side-clipping-plane/1490>\
**Category:** Unity Development\
**Tags:** development, unity, app-sim\
**Created:** [February 14, 2023, 8:33pm UTC](https://forum.magicleap.cloud/t/custom-render-cut-off-unexpectedly-by-cameras-far-side-clipping-plane/1490 "2023-02-14T20:33:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shujie.deng](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@shujie.deng](https://forum.magicleap.cloud/u/shujie.deng)\
**Post date:** [February 14, 2023, 8:33pm UTC](https://forum.magicleap.cloud/t/custom-render-cut-off-unexpectedly-by-cameras-far-side-clipping-plane/1490/1 "2023-02-14T20:33:13Z")

</div>

I'm trying to display a custom volume rendering in the ML simulator via Unity. I have two items rendered in the scene, the custom rendering and a Unity standard cube. The problem I have is that the custom rendered object is only rendered in a limited frustum, typically between 0.43 and 0.51 metres. The near and far clipping plane is set to 0.37 and 1000 on the camera and remains the same in runtime. The cube does not have the same problem and behaves as expected. The problem also does not appear in the Unity editor scene view, but only in the game view and in the simulator.

Any thoughts?

**Unity Editor version** : 2022.2.3f1  
**ML2 OS version** : App Simulator for Unity 1.1.0  
**MLSDK version** : 1.3.0  
**Host OS** : Windows  
**Magic Leap XR Plugin** : 7.0.0-pre.1

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [March 1, 2023, 4:37pm UTC](https://forum.magicleap.cloud/t/custom-render-cut-off-unexpectedly-by-cameras-far-side-clipping-plane/1490/3 "2023-03-01T16:37:43Z")

</div>

Hi @shujie.deng, this is an issue with your custom renderer. Can you provide more information on what makes it different from the standard cube? Are you using URP?
