RealityKit Object Detection

I am trying to detect and object using RealityKit's AnchorEntity. Detecting images works perfectly, but when I try to detect an object I can't find it.

Works great:
AnchorEntity(.image(group: "AR Resources", name: "BE"))
Does not work:
AnchorEntity(.object(group: "AR Resources", name: "bottle"))

I used the app below to scan an object and create a .arobject file:
https://developer.apple.com/documentation/arkit/scanning_and_detecting_3d_objects

Other information:
  • I am using SwiftUI to wrap an ARView in a UIViewRepresentable

  • I created a Coordinator to be the ARSessionDelegate

  • I am using an iPhone 8 on iOS 13.6

RealityKit Object Detection
 
 
Q