Html5 browser error 4.5

using 4.4 latest preview from github (says its 4.5) there were some problems with emscripten, resolved here

having finally packaged the project, uploaded here
using the frontend with the previously recommended settings

it fails to run in firefox 64bit, the console gives all this

SyntaxError: malformed Unicode character escape sequence FootGardening2.data.js:18
Successfully compiled .js code (total compilation time 31853ms; stored in cache; 1 functions compiled slowly: nWy:201:225641 (314ms)) UE4Game-HTML5-Shipping.js
"run() called, but dependencies remain, so not running" FootGardening2-HTML5-Shipping.html:231
"pre-main prep time: 1597 ms" FootGardening2-HTML5-Shipping.html:231
113 FootGardening2-HTML5-Shipping.html:231
uncaught exception: abort() at stackTrace@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:1:21064
abort@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:62131
iMA@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:213:83473
UOa@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:177:799552
Gl@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:137:42836
Ol@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:137:50516
callMain@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:60684
doRun@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:61527
run/<@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:61705

If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

thanks for any help

Try building development - you will atleast have a real callstack.

Hey Tegleg-

Thank you for your report. We have assigned this issue to a member of our support staff, and they will begin investigation as soon as possible. If we are unable to reproduce the issue, or we need additional information, our staff member will comment here with additional questions. Otherwise, we will post an ‘Answer’ once we have logged the issue in our bug database or we have a solution for it.

In the meantime, please be sure to review our suggestions for how to report a bug, and feel free to edit your post if you have additional information to provide.

Thank you.

Hi Tegleg,

I think what’s happening is the FootGardening2.data.js is failing to load and the error you are seeing is the game not finding the data when it runs. As a test, could you manually change line 18 in FootGardening2.data.js from

var PACKAGE_NAME = ‘D:\ue4 projects\FootGardening2 4.5\Binaries\HTML5\FootGardening2.data’;

to

var PACKAGE_NAME = ‘FootGardening2.data’;

See if that will allow it to load properly. If so, then we will need to make a bug fix to the data.js file generation.

-Pete

edit: As an aside, if I put your path in to my local build of TappyChicken (D:\ue4 projects\FootGardening2 4.5\Binaries\HTML5\TappyChicken.data) I get the same syntax error in the file. If I switch it to using double \ (D:\ue4 projects\FootGardening2 4.5\Binaries\HTML5\TappyChicken.data) it works fine. So either just reduce it to above, or put in \ everywhere. I’ve logged this as an issue to be fixed.

edit2: For whatever reason the back slash is not showing up in the edit window on this site. There should be back slashes in there

thanks

var PACKAGE_NAME = 'D:ue4 projectsFootGardening2 4.5BinariesHTML5FootGardening2.data';

to

var PACKAGE_NAME = 'FootGardening2.data';

this did not fix it, exactly the same error
although the downloading bar briefly appeared, it did not before

Use of getUserData() or setUserData() is deprecated.  Use WeakMap or element.dataset instead. requestNotifier.js:63
SyntaxError: malformed Unicode character escape sequence FootGardening2.data.js:1177
Successfully compiled .js code (loaded from cache in 992ms) UE4Game-HTML5-Shipping.js
"run() called, but dependencies remain, so not running" FootGardening2-HTML5-Shipping.html:231
"pre-main prep time: 248 ms" FootGardening2-HTML5-Shipping.html:231
113 FootGardening2-HTML5-Shipping.html:231
uncaught exception: abort() at stackTrace@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:1:21057
abort@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:62112
iMA@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:213:83473
UOa@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:177:799552
Gl@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:137:42836
Ol@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:137:50516
callMain@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:60680
doRun@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:61527
run/<@http://www.tegleg.co.uk/ue4/foot/UE4Game-HTML5-Shipping.js:222:61705

If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

Ok, try what suggested. Build a development version. You should then get a somewhat human readable call stack.

-Pete

ok [here][1] is a development build with FootGardening2.data.js edited as above.
the console spits out too much text to paste on here
[1]: http://tegleg.co.uk/ue4/foot/FootGardening2.html

Ok - I just tried. Apart from the line where peter mentioned - there are two more places - Line 1177, 1180. in FootGardning.data.js.where you have to make the same change.

With that change, I can foot garden! well almost - Dust particles don’t show up correctly - I think this is a known bug, However, if you do mobile preview from the editor - Does everything show up correctly?

after editing those other 2 lines it works! i can foot garden too hehe.

in the mobile previewer the ‘dust’ particles almost work properly, the red plants use the default explosion, some of the smoke is pure black.

thank you