Post

Replies

Boosts

Views

Activity

Reply to Reoccurring World Tracking / Scene Exceeded Limit Error
Any update on this ? Im appearing the same issue Here is my thread https://developer.apple.com/forums/thread/775853 TLDR: Im keep receiving the Room size exceeded error after doing the first scan on my iPhone 15 pro 18.3.1 regardless of the room's size. The error appeared immediately after the first scan. Insights There is no memory leaks during the scan Here is my scan controller class RoomCaptureController: RoomCaptureViewDelegate, RoomCaptureSessionDelegate, ObservableObject { static let shared = RoomCaptureController() var roomCaptureView: RoomCaptureView var showExportButton = false var showShareSheet = false var exportUrl: URL? var sessionConfig: RoomCaptureSession.Configuration var finalResult: CapturedRoom? var scanError: Error? init() { roomCaptureView = RoomCaptureView(frame: CGRect(x: 0, y: 0, width: 42, height: 42)) sessionConfig = RoomCaptureSession.Configuration() roomCaptureView.captureSession.delegate = self roomCaptureView.delegate = self } func captureSession(_ session: RoomCaptureSession, didEndWith data: CapturedRoomData, error: (any Error)?) { print("Capture session ended") if let error { self.scanError = error } } func startSession() { self.scanError = nil sessionConfig = RoomCaptureSession.Configuration() sessionConfig.isCoachingEnabled = true roomCaptureView.captureSession.run(configuration: sessionConfig) } func stopSession() { roomCaptureView.captureSession.stop() } func captureView(shouldPresent roomDataForProcessing: CapturedRoomData, error: Error?) -> Bool { return true } func captureView(didPresent processedResult: CapturedRoom, error: Error?) { finalResult = processedResult }
Topic: Spatial Computing SubTopic: General Tags:
Mar ’25