RoomPlanExporter sample code, no objects being substituted

I'm trying to test the RoomPlan exporter with ModelProvider.

I ran the sample code, and tried loading from the existing room plan samples of Merging Multiple Scans.

Then after I open the exported USDZ output, none of the objects are being substituted with the objects inside RoomPlanCatalog.bundle. I have debugged and checked that the Catalog is loaded correctly.

What is the specification of providing a catalog for RoomPlan's ModelProvider? As it's not clear what we should do regarding that from the documentation. Shouldn't there be a generic 3D mesh provided for objects such as Chair, Table, and Shelf, but I couldn't see any of them loaded. Although chair could be easily detected during the scan process, as I observed the session delegates.

Tried configuring the captureSession.arSession with SceneReconstruction configuration, but there's no difference. It looks like the issue is only on the exporting process.

It turns out the export function is not able to export all of the options listed in CapturedRoom.USDExportOptions.

When I selected .model the exported USDZ objects are substituted correctly.

RoomPlanExporter sample code, no objects being substituted
 
 
Q