Degraded RoomPlan performance

We have been using RoomPlan in our app for 2+ years. Through a combination of in-app and manual coaching on scanning best practices, most users are able to achieve high-quality scans on a consistent basis.

In recent weeks, however, we have observed an increase in reports of degraded scanning performance, even from veteran users who had not previously encountered issues. The RoomCaptureView overlay is jittery and crooked, and the resulting scan file has significant issues, even for simple, well-lit rectangular rooms.

It is difficult to troubleshoot these issues given the number of variables at play, and the overall volume of reports is still relatively low, but we'd appreciate any guidance on known issues or workarounds that could help unblock our users who are being affected by this. I noticed that this post includes an acknowledgement of FB14454922 and FB15035788. Our issues seem slightly different as the scans are simply inaccurate and jittery without failing outright. I haven't found any other threads on similar issues.

Hey @eliotwjohnson,

These types of issues are difficult to track down without additional logging. To keep track of this with our engineering teams I'd greatly appreciate it if you could open a bug report, including whatever assets you have that help illustrate the issues, and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

Is the following based off what you've heard or do you have videos and files that show the behavior?

overlay is jittery and crooked, and the resulting scan file has significant issues

Do you have any logging in place that is capturing any RoomCaptureSession.CaptureError errors in production?

It seems like another developer was able to improve performance by resolving a memory leak. Have you profiled the application when performing multiple scans in a row?

I found it happened consistently for us when we had a memory leak, and was able to be reconciled by really profiling the app, and making sure all memory is freed before performing another user scan.

Thanks,
Michael

Degraded RoomPlan performance
 
 
Q