i am trying to render the samples from WebXR Augmented Reality Features | Babylon.js Documentation into WebXR viewer in iOS. All samples are showing white screen.
while try to debug, IsSessionSupportedAsync is provided immersive-ar is true.
After trying to get session mode using createDefaultXRExperienceAsync its not responding.
If anyone has any input, please share
const available = await BABYLON.WebXRSessionManager.IsSessionSupportedAsync(‘immersive-ar’);
if (!available) {
alert(‘immersive-ar WebXR session mode is not available in your browser.’);
}
const xr = await scene.createDefaultXRExperienceAsync({
uiOptions: {
sessionMode: 'immersive-ar'
},
optionalFeatures: true
});