Post

Replies

Boosts

Views

Activity

Reply to Video Memory Leak when Backgrounding
The above makes sense. We solved our memory leak by not using a model isolating our video feature to a RealityView who job it is to only show video (in our case in 180 degree sphere) taking in the appropriate URL. So, the RealityView itself has all the AVFoundation objects and logic to play and display video. When we navigate to and away from the view, the RealityView is either recreated our destroyed, we actually observe the memory created and released. We are no longer using a notification though, we take note of the weak reference for when we'll add additional features to video playback.
3w
Reply to Window to Window container displacement
Hello, As of visionOS 2.0 the prompt is not longer as pronounced. See this tread for more information. Ok, we removed the alert, thanks for informing. change Preferred Default Scene Session Role to Immersive Space Application Session Role in your info.plist Thanks you, this also worked. FYI, pushWindow did work to resolve the vertical displacement. But, we encountered a new error with it.. It seems like there is a limit to the amount of windows we can push. I was hopeful with this pushWindow we could create view hierarchies, but we appear to be limited to two levels... So, now the new issue is: The application failed to create new scene, scene limit exceeded.. Sorry for the piling of issues, ie: regional issue, it's resolution, and now encountering new issue.. Thanks you for your help.
Sep ’24
Reply to Window to Window container displacement
Hello, Thank you for your response. I want to confirm you are aware that visionOS presents people with a similar warning by default, before they enter a fully immersive space. Does this warning only appear in the physical device? Creating a simple test project with the below configuration does not display this alert in the simulator. How can I be certain the alert will display on the physical device, when it does not in the simulator upon pressing Show Immersive Space of the template project? it's not currently possible to open a window directly over another window without creating a NavigationStack behind the scenes. That is not what we are trying to achieve. Our designers would like to have the alert as the very first view, and then go directly into the ImmersiveSpace. We do not want to display any other view or volume as an initial scene. When we chose our configuration for the project template, in Initial Scene it appears we cannot set ImmersiveSpace as an initial scene. I looks like we have no other choice but to display a view prior to displaying an immersive space. a) Is this correct? b) Or, is it indeed possible for an ImmersiveSpace to be the initial scene of our app? Thank you for the other information you provided.
Sep ’24
Reply to Vision Pro: Access "People Awareness" in my own XR apps
You might want to check if ARKit has a "human" generic model that it may output. ARKit allows you to detect real world objects, but only generic objects that Apple allows... maybe they have a human model for you to detect. If not, than the answer is no. Why? On Vision Pro, devs cannot access the camera feeds, the passthrough, nor the lidar feeds... Maybe upcoming WWDC will change some things!
May ’24