JeZxLee Posted August 6, 2017 Share Posted August 6, 2017 Hi, So today I bought a domain and hosted our PixiJSv4 video game on it. When we load the new domain in the Internet browser we get some console errors?: The page was reloaded, because the character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. The encoding declaration needs to be moved to be within the first 1024 bytes of the file. pacdudehero.com:38 "Pixi.js 4.5.3 - WebGL - http://www.pixijs.com/" pixi.min.js:16:11516 Error: WebGL warning: Exceeded 16 live WebGL contexts for this principal, losing the least recently used one. pixi.min.js:16:11750 Error: WebGL warning: drawElements: This operation requires zeroing texture data. This is slow. Any help would be appreciated, we also notice the page never stops loading? The domain is below:http://pacdudehero.com Thanks! JeZxLee Quote Link to comment Share on other sites More sharing options...
xerver Posted August 7, 2017 Share Posted August 7, 2017 Looks like: You did't have the encoding set in the headers or in the document, but this seems fixed now (I see it in the document and don't see this error anymore) You either had multiple context being created, or refreshed a whole bunch so it started cleaning up some old ones (and told you about it) This last one I've explained a few times, some of which are in the first results on google: https://github.com/pixijs/pixi.js/issues/3897#issuecomment-294505566 http://www.html5gamedevs.com/topic/29792-please-help-with-webgl-errors/?do=findComment&comment=171151 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.