Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using WebGL in Android build #1120

Open
MoJaeCheol opened this issue Dec 5, 2024 · 3 comments
Open

Error when using WebGL in Android build #1120

MoJaeCheol opened this issue Dec 5, 2024 · 3 comments

Comments

@MoJaeCheol
Copy link

MoJaeCheol commented Dec 5, 2024

It works well when you use the external URL of the Android build float (the https address with the WebGL build file) as a web view. However Repeat web view open close approximately 5 times and enter an
error: Cannot read undefined properties (read 'GLCTx') on object. deleteContext(/URL) error occurs.

webViewObject.ClearCache(true);
webViewObject.ClearCookies();
I've tried various things like this, but it's not working out. Any suggestions?
image

@KojiNakamaru
Copy link
Member

It seems to be caused by emscripten's bug (cf. emscripten-core/emscripten#22889 ).

@MoJaeCheol
Copy link
Author

It seems to be caused by emscripten's bug (cf. emscripten-core/emscripten#22889 ).

Thank you for your answer.

I'm building WebGL in Unity,
I don't define escrypten separately.
The most likely reason why I found it is
emscripten-core/emscripten#14595
I think that's why it's on the link, but it's hard to know how to solve it, so I'm asking for help.

@KojiNakamaru
Copy link
Member

You could try several older versions of Unity to emit WebGL content. Older versions might utilize more stable emscripten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants