Screen Recording Immersive Space in VisionOS

I am using ReplayKit's RPScreenRecorder to record my app. When I use it in a mixed immersive space, nothing is actually recorded. The video is entirely blank.

Is this a feature or a bug? I am trying to record everything the user sees, including passthrough. Is there another way to do this?