RealityKit, Attachments - not working

I am trying the simplest use of attachment in realityKit and get Contextual closure type @MainActor, @Sendable (inout RealityViewCameraContent) async -> void expects 1 argument, but 2 were used in closure body.

Also i get cannot find Attachment in scope

RealityKit, Attachments - not working
 
 
Q