Disable Object Occlusion on iOS

I’m developing an app using RealityKit and RealityView. On newer iPhones, such as the iPhone 15 Pro, Object Occlusion appears to be enabled by default, which causes 3D entities to be hidden behind real-world objects in the scene. However, I need to disable this behavior to ensure proper rendering of my 3D content. This issue does not occur on older devices like the iPhone 13, where the app works as intended. I haven’t been able to find a solution to explicitly disable object occlusion on the newer devices for RealityView. Any guidance or suggestions to resolve this issue would be greatly appreciated! Thanks!

Answered by DTS Engineer in 818717022

Hello @jkeraa,

This is the expected default behavior (scene understanding will be used by default, when the device supports it). You should set the scene understanding environment options explicitly if you want different behavior.

-- Greg

Accepted Answer

Hello @jkeraa,

This is the expected default behavior (scene understanding will be used by default, when the device supports it). You should set the scene understanding environment options explicitly if you want different behavior.

-- Greg

Disable Object Occlusion on iOS
 
 
Q