We have capturedRoom data with the help of RoomPlan API. When we are exporting this data with the help of export function but we are getting "EXC_BAD_ACCESS (code=1, address=0x0)" Please help us.
https://developer.apple.com/documentation/roomplan/capturedroom#generating-a-usdz-file
let url = FileManager.default.temporaryDirectory.appending(path: "Room.usdz")
try capturedRoom.export(to: url, exportOptions: .parametric)