Post

Replies

Boosts

Views

Activity

visionOS RealityView attachment SwiftUI controls don't always respond to user interaction
My visionOS app has a RealityView with an attachment containing SwiftUI controls, and occasionally the controls in the attachment don't respond to user interaction. Is this a known issue? Is there a workaround? Are RealityView attachments only intended to be output only? Using visionOS 1.0 beta 3 (Xcode 15 beta 8), I've reproduced this problem with a small standalone Xcode project. I submitted the issue as FB13143132 with lovingly hand-crafted artisan repro steps. The Xcode project is also available at https://github.com/drewolbrich/AttachmentControls Thank you for investigating this issue. Screenshot my use case:
6
2
2.7k
Sep ’23