Debugging help: BUG IN CLIENT: For mixed reality experiences please use cp_drawable_compute_projection API

Hi, we've been developing an XR application for Apple Vision Pro which has worked fine so far. Now that the SDKs have updated to 26.2 (for Xcode and AVP versions) we've run into an error that prevents the app from launching.

I get the following error when running the application in the AVP Simulator (building for destination Apple Vision Pro (26.2), and my colleague gets the same error when building for the device itself and launching there.

BUG IN CLIENT: For mixed reality experiences please use cp_drawable_compute_projection API
Type: Error | Timestamp: 2026-01-13 09:21:57.242191+02:00 | Process: My XR App | Library: CompositorNonUI | TID: 0x75e2c

(copied with "all metadata")

How can we debug this further? The error in the console doesn't seem to give any stack trace or clear pointer to the code which relates to it. I've tried searching for CompositorNonUI, but that doesn't yield any results in our project (nor Google nor the Apple developer forums).

There is one post in the forum that has a similar error (https://developer.apple.com/forums/thread/788500?answerId=845039022#845039022) but searching in our project and it's dependencies, we don't seem to use ".tangent" anywhere either.

Any help in either debugging to find more details on where the issue happens or pointers to fixing it much appreciated, thanks!

Hello @juhoo, thank you for your question!

Are you absolutely sure you are not using the tangents API? The error you are seeing is caused by using this API, which is now deprecated, and the correct way to determine a view projection is to use computeProjection(convention:viewIndex:). Previously, this API would only work in a full space, but it is possible your app is not totally configured to use the full space. If you are using tangents still, and are unable to modify your code, one thing that may help you is to set your immersion style to .full in your Info.plist:

<dict>
	<key>UIApplicationSceneManifest</key>
	<dict>
		<key>UISceneConfigurations</key>
		<dict>
			<key>UISceneSessionRoleImmersiveSpaceApplication</key>
			<array>
				<dict>
					<key>UISceneInitialImmersionStyle</key>
					<string>UIImmersionStyleFull</string>
				</dict>
			</array>
		</dict>
    </dict>
</dict>

And also in Swift in your App, where you define your immersive space:

.immersionStyle(selection: .constant(.full), in: .full)

Doing both will hopefully unblock you. If this doesn't help resolve your problem, could you please send us a bug report using Feedback Assistant? If you can include a project that reproduces the error that would be very helpful, and then share the ticket number here so I can forward that on to the rest of the team.

Please note that because tangents is deprecated, it is very likely this API will be removed in the future. We recommend transitioning your app to use computeProjection as soon as possible.

Thank you!

Debugging help: BUG IN CLIENT: For mixed reality experiences please use cp_drawable_compute_projection API
 
 
Q