I can get the fully immersive rendering working with metal and composite services but in WWDC 24 rendering metal with passthrough was announced: https://developer.apple.com/wwdc24/10092. I watched the video and downloaded the test project. I noticed that the passthrough was showing up in the demo project but not in my metal project. After debugging I found out it was this key: Preferred Default Scene Session Role
in my Info.plist that was set to Compositor Services Immersive Space Application Session Role
(like the video said) but it needed to be set to Window Application Session Role
for the passthrough to come in.
Is this a bug?