HTML5 Build FATAL ERROR

I get this error in browser console when I build the game in HTML5. Please help.
I think it’s mainly because I updated my engine because it was running fine before in HTML5.

Steps:
1.) Project > Build HTML5
2.) After building it automatically opens browser and loads the game.
3.) After loading, it’s just an empty screen.
4.) I checked the browser console and it display the error quoted below this post.

Defold Version: 1.2.158

dmloader.js:347 FATAL:ENGINE: Unable to load project file: ‘[–verify-graphics-calls=false]’ (-1)

Could you provide additional info? Follow this guide:
https://www.defold.com/manuals/getting-help/

Sorry about that. I already updated my post. Thanks!

Which project? All or a specific project? If only a specific project then please share it if possible.

I saw the problem, I was using this template: https://github.com/britzl/defold-indexhtml

I think it’s outdated… I wonder what I need to add in the html file to make it work again.

So it works if you select New Empty Project from the Welcome screen?

It works if I use the default .html shell

Ok, I will take a look at the template project you linked and fix that tonight.

2 Likes

I’ve updated the template project so that it works with the latest version of Defold. Please give it a try!

PS We’re about to update the default index.html shipped with the engine so that it works much more like this template.

1 Like

Sounds great! Will give it a try. Thanks!