Error when using WebGL in Android build
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Android WebView behavior with the external WebGL URL, repeatedly opening and closing it while noting when the GLCTx/deleteContext error appears. Compare this with calls to webViewObject.ClearCache(true) and ClearCookies(); done means repeated WebView cycles no longer produce the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, unity
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100