gree / unity-webview

zlib License
2.25k stars 688 forks source link

webpanel only displays 'ua' #392

Open cbanwell opened 5 years ago

cbanwell commented 5 years ago

Hi, When I run the webview on android, the second time I instantiate it I only get a blank display with 'ua' in the middle.

Seems to work the first time. I then destroy the object, but when I try to instantiate it again for example with another webpage as source it only displays 'ua'

KojiNakamaru commented 5 years ago

I've updated the sample app to destroy/recreate the WebViewObject gameobject (cf. https://github.com/gree/unity-webview/commit/fea9e542ccc20c5f0584fc38250e586b614999a4 ), and this works well on Android. My environment is Unity 5.6.6f1/Nexus 7 (2013, Android 6.0.1). Could you please try the latest? If this sample app works also for you, then could you please try to modify the sample app so that it reproduces your issue?