I'm having an issue on a game I'm working on that works perfectly on my weak MacBook Air but comes to a crawl on my desktop which is far beefier, running Ubuntu. Issues are present in both Firefox and Chrome although it seems like only Chrome ends up crashing.
It's difficult for me to isolate the code as it's an intertwined game that is not finished. I included a picture of the chrome profiler though. PC runs the bunny benchmark fine. Using latest version of pixi but have tried a few previous releases as well.
Any thoughts?
Something about Graphics class. GraphicsRenderer is the problem. How exactly do you use it?
@ivanpopelyshev Thanks for the hint I seem to have found the issue! I had a few objects with an attached Graphics that drew two rectangles every frame, but I forgot to clear() beforehand. Adding that in seems to have solved it.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@ivanpopelyshev Thanks for the hint I seem to have found the issue! I had a few objects with an attached Graphics that drew two rectangles every frame, but I forgot to clear() beforehand. Adding that in seems to have solved it.