'ARKit Environment Depth makes 3D objects disappear

We are developing an Unity/ARKit app for outside exterior use. While testing inside, everything works fine and environment occlusion works as expected. But outside, when reaching a certain distance to the AR-objects, they start flickering until they disappear completely. Please see attached video.

https://www.youtube.com/watch?v=paJ92c1kNPE

I've tried to visualize the depth map, but i don't see any change in the values. If i switch off environment depth, the models appear again.

What causes this and why is the occlusion not happening according to the depth map? For example at second 0:25 in the video you see occlusion is working, but the depth map is completely red? Or is the depth map only visualizing what the LIDAR sees?

Or is this just a limitation of ARKit?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source