Search Unity

Question Occlusion and Meshing simultaneously

Discussion in 'AR' started by Incode, Oct 28, 2022.

  1. Incode

    Incode

    Joined:
    Apr 5, 2015
    Posts:
    78
    Is it possible to use ARKit occlusion and meshing at the same time? I was using occlusion via the AROcclusionManager previously, and it seemed to be working, but after adding meshing it seems to be much less reliable. Did I break something, or is this just a result of the ARMeshManager interfering with occlusion?
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    You are probably correct that they can't both be active at the same time. Not all features are available in all session configurations.

    You can use the ConfigurationChooser to query the available features in your current session configuration. If you are on AR Foundation 5.0 or higher, you can also use the AR Debug Menu to visualize this information on device.
     
    KyryloKuzyk and Incode like this.