I just grabbed the portal code made available for testing and ran into this error when trying to run in simulator Vision Pro
Thread 1: Fatal error: SwiftUI Scene ImmersiveSpace requires a UISceneSessionRole of "UISceneSessionRoleImmersiveSpaceApplication" for key UIApplicationPreferredDefaultSceneSessionRole in the Application Scene Manifest.
Post
Replies
Boosts
Views
Activity
I have been playing with RealityKit and ARKit. One thing I am not able to figure out is if it's possible to actually place an object, say on a floor behind a couch and not be able to see it if viewing the area it was place from the other side of the couch.
If thats confusing I apologize. Basically I want to "hide" objects in a closet or behind other physical objects.
Are we just not there yet with this stuff? Or is there a particular way to do it I am missing?
It just seems odd when I place an object then I see it "on top" of the couch from the other side.
Thanks!
Brandon
I have been reading through the documentation and can not find a way to alter the users environment lighting. Is this not possible?
Basically I would like to add a darkening to a room. Or change the HUE of the environment in the scene they are seeing. I can think of a few "hacks" to do this but figured there would be a fancy reality kit way to do so.
If it is possible to "dim" or darken the environment I could then light up my models with lights but still have the real environment all around.