Does BabylonNative to Android support webxr? I use webview in Flutter and it does not support webxr
I do believe so but let s add @bghgary to confirm
We support XR when using Babylon.js APIs in Babylon Native. While we partially polyfill WebXR implemented against ARCore, we don’t guarantee that WebXR is fully supported in Babylon Native at the moment.
After my testing, it was found that xr cannot be enabled in BabylonNative for Android, and VideoDome also does not support it
@bghgary DisableDefaultUI: false will cause the program to exit, and VideoDome will cause a black screen
XR should be supported despite not supporting all the featureset. About the VideoDome a repro would be helpful.
Yes, it is true UI must be disabled for XR to work. XR UI uses HTML which is not available in Babylon Native. We should try to make this log a warning instead of failing though.
I’m not sure what VideoDome has to do with XR. VideoDome uses VideoTexture which isn’t supported yet in Babylon Native.