Observed Intermittent Crash when Scrolling the WebView
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
I am seeing an intermittent crash with a modified version of the sample project on an Android phone when scrolling through the webpage displayed in a WebView in the following environment:
Unity Version: 2021.3.12f1
Android Version: 12
Phone: Google Pixel 5
I modified the sample project in the following way to reproduce the issue:
-
I created a new scene called Initial that contains two buttons: 'WebView 1' and 'WebView 2'.
-
When the 'WebView 1' button is clicked, it loads the existing Sample scene with the following URL: https://www.atlassian.com/legal/privacy-policy.
-
When the 'WebView 2' button is clicked, it loads the existing Sample scene with the following URL: https://www.youtube.com/playlist?list=PL1wNGMba9T63zX4ZtN4R7sxPdH7MQeob-.
-
I added a back button to the Sample scene to navigate back to the Initial scene that I created in Step 1.
Here are the steps to reproduce the crash that I am observing:
- Click on the 'WebView 1' button
- Scroll to the bottom of the webpage
- Click the back button
- Click on the 'WebView 2' button
- Scroll down on the webpage
- Click the back button
- Repeat Steps 1 through 6 until the crash is observed
I am able to intermittently reproduce the crash on either Step 2 or Step 5. However, it can be tedious to reproduce this issue since it does not occur often. If you attempt to reproduce this issue, I recommend redeploying the Unity app to the mobile device, if the issue is not observed in the first few attempts to perform the steps to reproduce.
Please let me know if I can provide any additional information to help troubleshoot or resolve this issue.
Thanks in advance for your help.
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 with the modified Unity sample project containing the Initial and Sample scenes, then repeat the six-step navigation and scrolling sequence on the listed Android environment. Capture the Android crash output while testing both URLs; the issue is complete when the intermittent crash has a confirmed cause and an appropriate fix or clearly documented diagnostic result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, unity
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100