Can I display an Unity WebGL Game in Unity Editor ?

Hello,

I’m trying to put a HTML5 game (made with Unity WebGL export) in an Android app. I’m using a webview and the webview is correctly loading and displaying except my WebGL game, I see the loader and a white screen right after. It seems that the game never finish loading in Editor… What is wrong with it, the web browser ? Unity ?

When I build it (APK), it says that it could not run and I should try to download Firefox (I have Firefox as default browser) but still not showing up.

Is there a Unity preferences to use a specific browser when I open URLs ?

Thank you for your time/help.

WebGL is not supported on mobile browsers, as documented at Unity - Manual: WebGL browser compatibility

I’m not sure what you’re trying to achieve - if you want to target Android devices, make an Android build.