Hello, I would like to report a question, my game project is exported as WebGL and loaded on the phone using WKWebView. Before, It was working fine on both iOS and Android, but recently it was discovered that on iOS 18 when we use WKWebView to release the game it crashes the whole App. I’ve tried various versions of Unity 2021.3.36f1, 2021.3.40f1, 2022.3.36f1, 2023.2.20f1, and Unity 6000.0.9f1 using an empty project and it happens. I’ve also tried other non-Unity published WebGL and they don’t crash when releasing the game in iOS 18’s WKWebView. Has anyone else had a similar problem?
Try an empty project. Does this work? If so, the issue is with your particular project. Check the JS logs for any issues.
Most frequently it’s memory budget limit. Keep in mind that iOS may allow for no more than 500 MB, if you’re lucky. Likewise, if the app takes a long time to load (eg 20s) the watchdog might kill it.
Got to remember that IOS 18 is in beta, so it is worth reporting it to apple
Hi [CodeSmile]( https://discussions.unity.com/t/952271 members/codesmile.602581/), I did test it with an empty project and it crashed the same way, so I think iOS 18 did cause some problems with Unity’s WebGL.
Also, I can’t check the JS Log because I’m using iOS’s WKWebView to load Unity’s WebGL, and when it crashes, it’s the whole App that crashes, not just the WKWebView ![]()
Hi [bugfinders]( https://discussions.unity.com/t/952271 members/bugfinders.1879860/), Yes, I know that iOS 18 is currently in beta, but some of our users have upgraded to iOS 18 and are experiencing this issue, which is why I’ve started investigating the issue.
hello @CodeSmile we’re having the same issue for this build here: https://teslacarshowroom.theomnia.io opening it everywhere on iPhone 15 pro MAX version 18.0.1. I was able to open it in Safari after turning off my phone but everyone else in my team is not able to open it regardless. Has this been happening to the latest version of iOS? Can you please or someone get back to us with some answers around this issue?