gree / unity-webview

zlib License
2.27k stars 687 forks source link

Webview not showing (bug) #787

Open eb0KrY4k opened 2 years ago

eb0KrY4k commented 2 years ago

A strange bug was found, if you open a webview, minimize the application, open the application, close the webview and try to open it again, it will not be displayed

KojiNakamaru commented 2 years ago

At least the sample app seems to work without any issue. It has the following code to close/open a webivew

https://github.com/gree/unity-webview/blob/b328acb067a3a18ec0318dda58104b8142bbce57/sample/Assets/Scripts/SampleWebView.cs#L226-L233

with the following button.

image

Could you please provide more details based on the sample app and your environment (Unity version, Android/iOS platform, etc.)?