Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Using AROcclusionManager and ARHumanBodyManager simultaneously

Discussion in 'AR' started by dtaddis, Sep 1, 2020.

  1. dtaddis

    dtaddis

    Joined:
    Oct 17, 2019
    Posts:
    20
    Hi,

    Is it possible to have both automatic occlusion (using human depth and stencil) and body tracking (either 2D or 3D) at the same time?

    I've noticed that when I try to enable 3D body tracking and any kind of occlusion, I get the following message:

    Using session configuration 0x2053b09e8

    Requested Features: World Facing Camera, Rotation and Orientation, Plane Tracking, 3D Body Tracking, People Occlusion Stencil, People Occlusion Depth, Auto-Focus

    Supported Features: World Facing Camera, Rotation and Orientation, Plane Tracking, People Occlusion Stencil, People Occlusion Depth, Auto-Focus

    Requested features not satisfied: 3D Body Tracking


    I assumed from this that if I used 2D body tracking, I could using people occlusion as well. However once 2D body tracking is enabled, occlusion no longer occurs.

    Can anyone confirm or deny this or explain why? Is there any kind of workaround?