Jump to content

Uncaught Security Error: Failed to execute 'texImage2D'


Recommended Posts

All of a sudden, when I run my Phaser game now, I get this error:


Uncaught SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at file:///.../images/loadBar.png may not be loaded.


I'm using the Brackets IDE, and therefore am not running my own local server. I don't think I changed anything in the Preloader.js script, but all of a sudden this has been occurring.


Sometimes, I get this error, sometimes, the Live Preview just fails to load completely, and sometimes, it works fine.


Any ideas?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...