JS exception: Failed to compile vertex shaders


Hey ! I’m making a game in JS with Phaser 3 and when I test it on Firefox there isn’t any problem but when I test it on Brave the game won’t load and I have

Uncaught Error: Failed to compile Vertex Shader:
    at initialize.createProgram (phaser-arcade-physics.min.js:1)
    at initialize (phaser-arcade-physics.min.js:1)
    at new initialize (phaser-arcade-physics.min.js:1)
    at initialize.init (phaser-arcade-physics.min.js:1)
    at new initialize (phaser-arcade-physics.min.js:1)
    at t.exports (phaser-arcade-physics.min.js:1)
    at initialize.boot (phaser-arcade-physics.min.js:1)
    at HTMLDocument.e (phaser-arcade-physics.min.js:1)

I don’t know why it does this on Brave and not on Firefox

EDIT: The game works on Chrome


Hi, maybe JavaScript is not enabled in Brave?
I have no idea with web programming languages (rather with “ordinary” - partly), but that would be a possible solution?

Edit: The subject of your post is compile, do you mean not to run here?


JS is enabled in Brave and also I just seen that the code works on the server (https://thedevkiller.github.io/jeux/mario/mario.html) but not on localhost, this is weird


Ok, on your topic but, here is already some information missing, like the important(!), which browser version do you use? :grin:


Version 0.57.18 Chromium: 71.0.3578.80 (Build officiel) unknown (64 bits)

I really don’t know what was the problem but I didn’t edited my code and it works now :thinking:.

Thank you for your help anyway ^^

1 Like
closed #6

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.