HTML5 Build FATAL ERROR

#1

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)

0 Likes

#2

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

0 Likes

#3

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

0 Likes

#4

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

0 Likes

#5

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.

0 Likes

#6

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

0 Likes

#7

It works if I use the default .html shell

0 Likes

#8

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

2 Likes

#9

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

#10

Sounds great! Will give it a try. Thanks!

0 Likes