<sigh/> truth is, #tapprtv for #visionOS is afflicted by a random but persistent bug that I cannot track down. Using #CompositorServices, In the middle of my renderFrame function, the worldTrackingProvider pauses. This smells like a race condition to me. With that unexpected paused, the device anchor can’t be queried, the drawables aren’t presented, the layerRenderer becomes invalidated, and my render thread exits.

Know anyone who has successfully shipped using CompositorServices?

FB13561757

blerg. After getting tappr.tv dances playing back on #visionOS via #CompositorServices and my existing #Metal code, I’m now struggling to understand how to place #SwiftUI around the stage, so the dancer can control playback, return to lists, etc. Obvious stuff.

On visionOS, #AVKit AVPlayerViewController can place a mini window below the video. But I can’t see a way to do my own from SwiftUI.

I know I have to move to #RealityKit at some point, this might force my hand :-|