Cannot find devices in RemoteImmersiveSpace

Hi,

I'm running the Spatial Rendering App sample on a Macbook Pro running 26.4 Beta and the Vision Pro running visionOS 26.3.1. Handoff and SharePlay are on, both devices are on the same Apple ID and network, and SharePlay screen sharing works fine between the two devices.

However, when calling openImmersiveSpace, the device picker fails to present and no devices are found.

Errors from console:

((processConfiguration != nil && configuration != nil) ||
(processConfiguration == nil && configuration == nil)) -
  .../ExtensionKit/Source/HostViewController/Internal/EXHostSessionDriver.m:80: `processConfiguration` and `configuration` must be both non-nil or both nil

Unable to obtain a task name port right for pid 638: (os/kern) failure (0x5)

Unable to present an ImmersiveSpace for Scene id 'Compositor Services'

Is this a known bug or I'm I missing something? Thanks!

Hi @hungng

Could you try running the Spatial Rendering App template and see if you can reproduce the issue there?

To do so:

  1. Create a new project in Xcode by choosing File > New > Project.
  2. Navigate to the macOS section of the template chooser.
  3. Select the Spatial Rendering App template.

Let me know if you run into the same issue with the template, thanks!

Cannot find devices in RemoteImmersiveSpace
 
 
Q