iOS 15 RealityKit AnchorEntity possible bug

The context is: ARSessionDelegate func session(_ session: ARSession, didAdd anchors: [ARAnchor]) {}

Upon Image Detection, place an overlay of a RC Entity at the ImageAnchor location.

Using IOS 14, I have been reliably using: mySceneAnchorEntity = AnchorEntity(anchor: imageAnchor) to render additive RC scene content. Additive model entities render correctly in the field of view.

When I upgraded to IOS 15 using the same code that had been working for many (~12) months on all versions of IOS 14, my code failed to render any RC scene content. I get a ghosting of all of the render content in the proper location, but visible only for a moment, then it disappears.

So, I finally found the root cause of the issue. It appears that IOS 15 only renders correctly in my application using: mySceneAnchorEntity = AnchorEntity(world: imageAnchor.transform).

This led to many frustrating days of debugging to find the root cause. As a side note, IOS 14 renders RC scene entities correctly using both variants of AnchorEntity: mySceneAnchorEntity = AnchorEntity(anchor: imageAnchor) and mySceneAnchorEntity = AnchorEntity(world: imageAnchor.transform)

So, this leads me to believe there is an issue with the behavior of IOS 15 with the following version of AnchorEntity: mySceneAnchorEntity = AnchorEntity(anchor: imageAnchor)

Answered by Graphics and Games Engineer in 702918022

Hi Mike, this is a known issue, and the RealityKit team is working on a fix. I don't have an ETA for the fix though.

Accepted Answer

Hi Mike, this is a known issue, and the RealityKit team is working on a fix. I don't have an ETA for the fix though.

Apple dev: any update on the issue FB9679173?

Current status is it's been assigned to an engineer to investigate, and it's marked as a high priority issue. Of course this is subject to change, but that is the status right now. No ETA available unfortunately.

Does this impact all AnchorEntities created with an ARAnchor?

What other behaviors have you seen with this?

Apple dev: any update on the issue FB9679173?

It looks like we were able to reproduce the issue, and a potential fix has been identified. Of course, we don’t have an ETA for when this would be available, but things are trending in the right direction for now.

Apple dev: thanks for the update!

Apple dev: any update on the issue FB9679173?

No, nothing new beyond what was shared above.

Apple dev: any update on the issue FB9679173? So, this core feature will remain broken for the entire iOS15 release...hum, disappointing. iOS16 is just around the corner.

Apple dev: any update on the issue FB9679173?

Apple dev: any update on the issue FB9679173?

Apple dev: any update on the issue FB9679173?

According to Apple today in a Ask Apple Q&A, issue FB9679173 is said to be fixed in iOS16. thanks Apple, but it would have been common courtesy for you to reply to this forum item.

According to Apple today in a Ask Apple Q&A, issue FB9679173 is said to be fixed in iOS16. thanks Apple, but it would have been common courtesy for Apple to reply to this forum item themselves. Developer community courtesy is low priority for them it appears.

iOS 15 RealityKit AnchorEntity possible bug
 
 
Q