Open ghost opened 8 years ago
Could you please check https://github.com/gree/unity-webview#android ? It is a bit tricky to enable hardware-accelerated webview on Android.
We are also unable to run WebGL in the webview on Android (5.1.1) and unity 2017.1 (also on unity 5.6 after following the instructions ) Any advice? thank you!
At least on Nexus 7 (2013, Android 6.0.1), the sample app built with Unity 2017.1.0f3 works well: by settings SampleWebView's Url as http://webglsamples.org/dynamic-cubemap/dynamic-cubemap.html. Please install Chrome-based WebView (https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en) if you haven't.
thanks for your reply, I have the latest webview installed for the device (v 59.0.3). And inside google chrome or the phone's default internet browser WebGL is running...
Could you please try the sample app with http://webglsamples.org/dynamic-cubemap/dynamic-cubemap.html as I tested? Without aligning the condition as much as possible, we cannot figure out the cause.
I am trying to run a 360 video javascript library(krpano) in the webview on Android(4.4.2). the video works on the device if opened in chrome. However, when I try to load it in my application, or even the sample application provided I get an error message.
"HTML5 Browser support with webgl or css3d support required"
I assume this means that the webview is not using chrome?
Is there a way to use chrome for the webview? Can webgl be enabled? if so, how?
thank you