'init(make:update:attachments:)' is unavailable in visionOS
in Xcode 15 beta 8, but it's fine in beta 7
It's a change which is not in the document yet. From your code, I think you can fix it by
RealityView { content, _ in
// ... your code
} update : { _, attachments in
// ... your code
} attachments: {
Attachment(id: id) {
// your code
}
}
Adding the Attachment(id: id) { }