If you are currently using a custom HTML template for your HTML5 bundling (specified as
html5.htmlfile in your
game.project) you might have problems after the latest update (1.2.141).
<project_name>.js), but after 1.2.141 there is actually two files (
<project_name>_asmjs.js for AsmJS and
<project_name>_wasm.js for WebAssembly).
The quickest fix is to bundle your project once without a custom HTML template and compare the output with your custom one to see what needs to be updated. But in short what you need to do is;
- Remove the following line, ;
- And add the following lines inside the
<script>block, just after
If you encounter any issues, please reply here and we will try to help!
We are also moving the packaged/default HTML template into the
builtins folder (just as we did with
AndroidManifest.xml) so it will be easier to view and keep track of. This change will hopefully be available already in the next release (1.2.142).