How can I create custom AR Foundation provider?

I’m trying to create AR.js integration for AR Foundation.
But I couldn’t find out the documentation for creating custom AR Foundation providers.
Is there any documentation available?

Unfortunately, there is not much documentation on creating your own AR Foundation provider. You can look into built-in providers like ARKit XR Provider for an example on how to build a custom one.

As far as I understand the whole XR Plugins architecture, there are two types of XR subsystems: integrated and standalone subsystems (starting from Unity 2020.2 this separation is being removed).
You can create your own standalone subsystem using a plain C#, but to create a custom integrated subsystem, it seems like you’re required to write a c++ plugin.

[This post]( XR Plugins and Subsystems page-5#post-5455065) from mfuad has a link to request access to XR SDK. I don’t have access myself, but I think it can be very valuable for anyone who is writing a custom XR plugin provider.

1 Like