I am getting the following error when I click on AR button created using three.js ARButton.js.
“could not create a session because : the runtime for this configuration could not be installed.” Not able to start the camera after clicking on “Start AR” Button
Can someone guide me on why this error occurs and how to resolve it.
Well, sometimes WebXR is available but the device only has VR capabilities. Maybe this is true for your device?
Same issue in the context of A-Frame:
Are you using r125?
Yes. The device used for testing is also compatible for AR.
Captured error for reference
Could not create a session because: The runtime for this configuration could not be installed
Uncaught (in promise) DOMException: The specified session configuration is not supported.
button.onclick @ ARButton.js:96 navigator.xr.requestSession( ‘immersive-ar’, sessionInit ).then( onSessionStarted );
Do you have a link we can test?