If I attach my swiftui view via an ViewAttachmentEntity it will show the view but any ornaments defined are not showing up at all. When I use Xcode preview on the swiftui view the ornaments show up correctly. I am using visionOS beta 3 and the problem easy to reproduce.
Are ornaments on views supported if the view is displayed via an ViewAttachmentEntity?
This sounds unexpected, please file a bug on Feedback Assistant. In the meantime, you can work around this by adding the ornament directly on your RealityView
instead of inside the Attachment, the result should be the same.