in developing an existing VR app to VisionOS, This is the error I get in xCode
‘AVCaptureDataOutputSynchronizerDelegate’ is unavailable: not available on visionOS
Any ideas?
Thanks
~be
in developing an existing VR app to VisionOS, This is the error I get in xCode
‘AVCaptureDataOutputSynchronizerDelegate’ is unavailable: not available on visionOS
Any ideas?
Thanks
~be
Do you have a WebCamTexture in your project? If so, I would wrap that with an #if !UNITY_VISIONOS/#endif.
Either way, there are a number of APIs that visionOS does not support in AVCapture that will cause compile errors. The compiler errors will be resolved in a future release, though I have no ETA for that now.
I’m not sure why URP would in any way add AV cam support to your project?
@AndrzejUnity Might be able to help with shader graph support.
For MR apps, we convert shader graphs to MaterialX, which has a big set of caveats and restrictions. For VR, though, we generally expect them to work the same as on other platforms (especially iOS, where, as on visionOS, shader graphs are converted to Metal shaders).
@AndrzejUnity Thanks, I am trying to use this for VR on VisionOS, so I am using the Sample Scene Unbounded from the VisionOS Template 1.1.4. The shaders have worked great in VR, iOs and even Html5.
What would you recommend?
Thanks
~be
Without seeing your project I am not sure why you would be running into this. If you can file a bug report and post the incident ID here (IN-XXXXXX) I can take a look and see if I can figure something out.