Search Unity

ARKit

Discussion in 'AR' started by alphadogware, Dec 18, 2018.

  1. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    76
    When ARKit is scanning for planes it appears to be destorying old planes when it gets a better one. How can I either turn scanning off or leave the old ones out there?

    I would rather stop deleting the planes if possible.
     
  2. tdmowrer

    tdmowrer

    Joined:
    Apr 21, 2017
    Posts:
    605
    To turn plane detection off: disable the ARPlaneManager
    To cancel the removal of planes: set ARPlane.destroyOnRemoval to false.
     
    alphadogware likes this.
  3. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    76
    I played around with those settings, but for some reason anytime I mess with any of the settings it makes the arkit session less stable and more likely to crash.
     
  4. tdmowrer

    tdmowrer

    Joined:
    Apr 21, 2017
    Posts:
    605
    We aren't aware of any crash bugs. Could you please submit a bug and include a callstack?