Search Unity

People Occlusion flickering on and off (ARPersonOcclusionTechnique - Mismatched timestamps)

Discussion in 'AR' started by Aaron-Meyers, Mar 30, 2020.

  1. Aaron-Meyers

    Aaron-Meyers

    Joined:
    Dec 8, 2009
    Posts:
    305
    I'm having an issue with the ARKit people occlusion stuff in my app. When I put my hand in view of the camera, the occlusion looks pretty good except there will be short flickers (probably just one frame) where the occlusion won't work. Then I noticed in Xcode that messages like this seem to be filling the console, roughly corresponding to the flicker in the frame.

    The device I'm testing with is an iPhone 11 Pro Max and I've tried it with the fastest settings for both the depth and stencil occlusion buffers and without anything particularly heavy going on in my app. Anyone else running into this?
     
  2. Aaron-Meyers

    Aaron-Meyers

    Joined:
    Dec 8, 2009
    Posts:
    305
    Oh also, I've tested the same thing on an iPad Pro 12.9" (2018) and I saw just one of the aforementioned console messages pop up but generally no perceivable flicker.
     
  3. Bnew

    Bnew

    Joined:
    Oct 6, 2019
    Posts:
    1
    I faced the same problem.
    how you solved it?