HTML5 build is not working, black screen only (SOLVED)

:frowning: I tried to bundle a HTML5 of my game, the project grow to ~70 MB, but it’s not working, even when I use Build HTML5 - it only loads to 100% and then only a black screen is appearing, nothing changes even after few minutes. I increased the Heap size, but it’s not helping. No native extensions, I’m using only built-in audio and physics. I was releasing HTML5 builds earlier and didn’t have any problems, I don’t know how can I debug it, so I would be thankful for any tips!

you may try and open the developer console (on chrome) and see some error report…

Yes, check the developer console, it will very likely give you some clues.

Is the game running if you do a desktop import?

It could be new big atlases for instance. Are you using texture compression?

Didn’t thought about it :smiley:

utils.controls is a lua module to handle user input, utilizes Defold-Input - should I look here for some fault?

Yes, Windows and Mac builds are working

Do you mean this? Texture profiles in Defold -No, no custom texture profiles - could it help?

The rest is small

EDIT: It seems that there are some problems with nested comment blocks [], I’m clearing it up one by one and see if it will work then :wink:

EDIT 2: It’s working now! Indeed the console is pointing out problems pretty well! Thank you for your help!

2 Likes

You can press Ctrl+/ to comment/uncomment selected lines in the editor.

2 Likes