Workaround:
I tried adding the platforms: [.visionOS(.v2)] and updating the PackageDescription to swift-tools-version:6.0 but no luck.
I was able to get visionOS 2.0 features working by adding it programmatically under the RealityView's update: {}. For example, to add the BillboardComponent, just add it directly in the code and not in Reality Composer Pro scene/project.
entity.components.set(BillboardComponent())
Good luck!
Post
Replies
Boosts
Views
Activity
Workaround:
I tried adding the platforms: [.visionOS(.v2)] and updating the PackageDescription to swift-tools-version:6.0 but no luck.
I was able to get visionOS 2.0 features working by adding it programmatically under the RealityView's update: {}. For example, to add the BillboardComponent, just add it directly in the code and not in Reality Composer Pro scene/project.
entity.components.set(BillboardComponent())
I suspect the same will work for EnvironmentLightingConfiguration.
Good luck!
Worked perfectly, thank you @Vision Pro Engineer !
Worked perfectly @avhwl, thanks so much!