I’d like to ask what might the possible causes be for the ARSessionDelegate retaining ARFrames console warning. I use the session:didUpdateframe: delegate method to just check whether the AnchorEntity(plane:) I’m looking for is in a sufficient distance from the camera.
We have a limited pool of resources for our
ARFrames and in order to keep some available for ARKit to process, we recommend processing the frames as quickly as possible. If you need to perform longer computations, you can copy an
ARFrame and release the
ARFrame from the delegate method.