Html5 browser error 4.5

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