Reputation: 183
I am working on 3D model in javascript & using GLTF webGL to render 3D model in iOS. I am loading this model using WKWebView in Ipad Air/Ipad Air 2.
This configuration/application works perfect in IOS9, But after upgrading OS to IOS 10 my application get crashed. I am trying to debug same on Xcode then showing following error message :
Error Message: "#WK: Unable to acquire assertion for process 0".
We have tried same thing using UIWebView in IOS10 it is working but performance is low (application working slow).
Additional information :
Any body have any cue to debug WebGL issues on iOS 10 ?
Upvotes: 13
Views: 2499
Reputation: 530
Please check the log in console whether you can find anything. I had the same error "Error Message: "#WK: Unable to acquire assertion for process 0".", and I found it was because I used css property -webkit-overflow-scrolling, this property consumed a lot memory, and last WebKit process crashed.
Upvotes: 2
Reputation: 189
I'm getting the same error, though I'm not using WebGL at all. I am, however, using GPUImage2.
Are you using the Safari Web Inspector on your host machine? Based on my experience and some anecdotal & related evidence, I think the problem is a bug in some combination of that and WKWebView on iOS 10.
It's not an ideal solution, but not using the web inspector has prevented WKWebView from crashing for me.
(Interestingly, it doesn't crash if I use the web inspector but am not doing anything GPU intensive.)
Upvotes: 0