Resolved: No Meshes showing up in iOS

  • Issue category: Real-time Mapping-Depth / ARDK Documentation / Unity Example Package
  • Device type & OS version: iOS
  • Host machine & OS version: Windows
  • Issue Environment : On Device
  • Xcode version: latest i believe?
  • ARDK version: 3.12
  • Unity version: 2022.3.54f1

Description of the issue:

Hi all! I have an ARFoundation based app, and I am trying to check out meshing on lightship to see if it will provide more robust meshing on larger scales. I managed to get playback working in the editor and meshing seems to run fine there, however in the built app on iOS I am not getting any meshes at all. The camera texture is working, and i can place anchors and get roomplan kit info directly from ARKit, but I do not see meshes being generated at all. I am getting logs from it though when I turn logging on in the settings (i get what seems to be appropriate setup logs and a bunch of meshProvider.GetMeshInfos), it seems to be running and just not finding meshes when ARkit is. Has anyone run into this problem?

I have found the solution. You need to have the occlusion manager active on the AR camera object. It seems that this is required for Lightship to get depth frames.