ARFoundation Camera Not Working With OculusXR & URP

When I ran the same default config with OpenXR plugin instead of Oculus it was ok, however, I need to use some of Oculus specific features (e.g haptics) and those are not working when building with OpenXR checked with the Meta features enabled, but only working for building with Oculus checked.
Therefore, I had to build with Oculus plugin, but when I do so, no matter what I’ve tried and which config I tried, I always get a black screen and not getting passthrough.
Any ideas why would that happen? Or how to approach this? Is there a chance that it is not intended to work…?
I don’t get any log errors on the console on runtime.

The other option is building with the OpenXR checked instead of Oculus but this creates even more issues (that are not specifically AR related), although I followed all the instructions and added the required dependencies.

Any ideas?

AR Foundation works with XR Interaction Toolkit which supports haptic feedback Simple Haptic Feedback | XR Interaction Toolkit | 3.0.4.

I understand, however the haptics of the XR interaction toolkit is much simpler (AFAIK) and not dynamic like the Meta Haptics provides.

Lmk if I’m wrong…
And as you can see in the link above, to make the Meta Haptics work, Oculus must be chosen as the plugin provider in the XR plugin management.

To me it seems like the bottom line is, I need to make AR foundation work with Oculus as a plugin provider.

Pls lmk your thoughts.

I don’t see any way that we could expose this functionality via OpenXR, as Meta does not provide an OpenXR API for their Haptics SDK. This may mean that you can’t use AR Foundation for your project.

Have you considered going the full-Meta route? ie, https://developer.oculus.com/documentation/unity/ts-odh-download-tools/. Perhaps your app is best suited for neither the Oculus XR Plugin nor AR Foundation, but rather Meta’s first-party development tools.