Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Dismiss Notice

(LWRP + ARFoundation) Baked lightmap getting clipped for no apparent reason

Discussion in 'AR/VR (XR) Discussion' started by real2u, Feb 11, 2019.

  1. real2u


    Jun 20, 2018

    Hi there,

    We have this happening on our project and we can´t understand the reason.

    This is our scriptableRP file

    We are not scaling the model, we only scaling the ARSessionOrigin as taught in other topics.
    This is not related to the camera clipping plane, since we can still see the building. It looks very similar to vanishing realtime shadows, however part of the texture disappear as well and we have changed the shadow distance multiple times.

    Has anyone been using LWRP and found this issue as well?

    This is a VERY big model, maybe that´s the reason? Is there a magic number we can increase to stop this from happening?


    This the SampleLWRPScene from

    To replicate the error we set ARSessionOrigin scale to 667,667,667 and the Cube scale to 600,50,300 (to replicate the size of or building).

    Thank you in advance guys
    Last edited: Feb 12, 2019
    castana1962 likes this.