Access Main Camera not working in VisionOS 26.1

I downloaded the official sample project “Accessing the Main Camera”, but I found that it’s not able to retrieve the camera feed on visionOS 26.1. After checking the debug logs, it seems the issue is caused by the system being unable to find the expected format.

I tested on a device running visionOS 2, and the camera feed worked correctly — but only when using the sample code from the visionOS 2 version, not the current one. I also noticed that some of the APIs have changed between versions.

Has anyone managed to successfully access the camera feed on visionOS 26.1?

Hi @Ewan_Ke

The sample app requires a valid license file to display the main camera. Can you confirm you replaced the placeholder Enterprise.license file with your valid Enterprise.license file?

Access Main Camera not working in VisionOS 26.1
 
 
Q