How to Disable Object Occlusion in a RealityView?

Hi everyone,

I’m working on a project using RealityKit and encountering an issue with object occlusion. Specifically, I need to disable the occlusion of real-world objects (e.g., tables, walls) in my RealityView. I want virtual entities to render fully, even if real-world objects would normally block their view.

I’ve explored options in ARSession and ARWorldTrackingConfiguration but haven’t found anything that affects occlusion in RealityView. I suspect there might be a setting or approach I’ve missed.

Has anyone dealt with a similar scenario or knows how to achieve this? Any insights or pointers would be greatly appreciated!

Thanks in advance, Nicolas

How to Disable Object Occlusion in a RealityView?
 
 
Q