Stan Posted January 15, 2021 Share Posted January 15, 2021 Hello guys, I have a bug that has been bothering me for a week. On ios14+, WebGL is totally crashing and losing context. There is a runtime error WEBGL_context_lost or something, but only after I refresh the safari browser. Even browser refresh doesn't fix the context immediately. I have implemented a swipe functionality with pixi v4.8.8 and the bug occurs when I start swiping rapidly between pages for a minute or two. After a while the game just freezes. The way I implemented the logic is on every swipe I do removeChild then addChild to 10-12 DisplayObjects. Basically I remove old Sprites and then create new ones on every swipe. There is no Heap memory leak. The only thing I can think of is if there is a GPU memory leak somehow, but I think PIXI should be able to handle simple adding and removing sprites. Any ideas what causes that issue? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.