You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Thanks to everyone contributing to this amazing project. I'm trying to run a WebGL app in my Android app using web view (so it's like an app in other app). I placed the whole build of my WebGL project into StreamingAssets path and tried to call LoadHTML("index.html"), but all I get is a white screen. I put the define (UNITYWEBVIEW_ANDROID_USES_CLEARTEXT_TRAFFIC) but it changed nothing. Is it even possible to do what I'm trying to do or am I just using the plugin wrong? I managed to load other page, so the setup is not a problem. I've never worked with web view before so I might be just doing stupid things... could you please give me a clue what am I doing wrong?
The text was updated successfully, but these errors were encountered:
If the webgl content can be directly opened by a browser (without a http server), perhaps it can be placed in StreamingAssets and can be loaded after files are copied under Application.temporaryCachePath and so on (see the sample app). If the webgl content requires a http server, it won't be loaded locally.
Hello! Thanks to everyone contributing to this amazing project. I'm trying to run a WebGL app in my Android app using web view (so it's like an app in other app). I placed the whole build of my WebGL project into StreamingAssets path and tried to call LoadHTML("index.html"), but all I get is a white screen. I put the define (UNITYWEBVIEW_ANDROID_USES_CLEARTEXT_TRAFFIC) but it changed nothing. Is it even possible to do what I'm trying to do or am I just using the plugin wrong? I managed to load other page, so the setup is not a problem. I've never worked with web view before so I might be just doing stupid things... could you please give me a clue what am I doing wrong?
The text was updated successfully, but these errors were encountered: