Search Unity

Disappearing objects?

Discussion in 'AR' started by bkg2012, Mar 19, 2019.

  1. bkg2012

    bkg2012

    Joined:
    May 25, 2016
    Posts:
    6
    In our game we have quite the problem. On Android, especially, if the light is scarce or you end up getting too close to the object it might randomly disappear and never appear again. How do you generally deal with this issue? Is there a built in mechanism to force it back or detect that it's gone away?
     
  2. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
    Do you have any SkinnedMeshRenderer on those objects?
     
  3. bkg2012

    bkg2012

    Joined:
    May 25, 2016
    Posts:
    6
    Nope. Just regular MeshRenderers. Although there are some non-static objects on top of the other objects that use 3D models with skeletons and as far as I know Unity applies a SkinnedMeshRenderer to them automatically.
     
  4. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
    If you have any animator, make sure that your culling mode is Always Animate .
    In skinned mesh renderers, make sure "Update When Offscreen" is toggle on and "Dynamic Occluded" is off.
     
    qpegs likes this.