How to get ARPointCloud.positions using ARKit v 5.1.1

I’ve already exhausted the search and none of the previous solutions work using ARKit v 5.1.1

All I want to do is to get ARPointCloud.positions, but it’s unlear where / what component has this native slice and it differs a ton from version to version, making previous solutions useless. I want to work with the pointcloud data directly and run custom object detection on it for non-game related utilities.

Thanks!

Like you’ve said, the docs say it’s ARPointCloud.positions, have you looked at ARPointCloudManager, to see if this provides enough info on how to get access to all the points? It looks like it may store multiple point clouds in it’s “trackables” variable, so you may need to iterate over them. Check the source code of ARPointCloudManager.Raycast, and it may help here.