Search Unity

Bug AR Foundation buggy plane detection

Discussion in 'AR' started by isakdiaz, Jul 19, 2021.

  1. isakdiaz

    isakdiaz

    Joined:
    Jan 3, 2020
    Posts:
    3
    Hi, I have used differrent projects and continually get buggy planes in AR Foundation. The longer the program runs the more planes it adds above the existing planes. I see this when I download ar-foundation-samples from github and run it as is. I have tried on simulators and on devices and i get the same results.

    Here are some images of the planes in a simulator. They keep stacking on top of eachother for some reason. Does anyone know how to fix this? Or should i move to native ARKIT or vuforia?

    Screen Shot 2021-07-19 at 2.50.38 PM.png Screen Shot 2021-07-19 at 2.50.51 PM.png
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,145
    When you use AR Foundation you're already using native AR implementations (ARKit, ARCore, etc.). Overlapping tracked planes can happen in ARKit/ARCore and you should write a custom solution if you want to merge these planes into one.
    Please be aware that the simulator's behavior is different from the behavior of real devices.