Hello, Welcome to Microsoft Q&A,
You need to use an ARSessionConfig data asset for Spatial mapping occlusion, it is recommended to follow this step-by-step guide to add ARSessionConfig data asset first: Adding a session asset, and then, try the following steps to make the AR system render the mesh data as occlusion meshes:
- Open the ARSessionConfig and expand the ARSettings > World Mapping section.
- Check Use Mesh Data for Occlusion.
----
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.