HTML 5 Script Error

hi,
i’m a archviz, beginner in unreal, so don’t flame me please if i ask stupid question…(and my bad english)

i made a simple archviz scene, it works well on editor, published it for windows64 package everything is well at this time. (unreal 4.8.2)

I followed instruction, installed python 2.7 and emscrypten 1.34.1, edited project settings to match paths. (tryed before …without adjusting this paths and building was done without errors)

Building in HTML 5 (development and shipping mode, tryed both) , tryed to push heap size to 1024, path of firefox and chrome was found in settings also.

Build was done without problems i think

And now, everytime i try to lauch the game i got JS error

Did i miss something? any idea to investigate ?

Thanks for your help.

humm…firefox gave me more infos …looks like chinese for me :slight_smile:

hey there, the highest version of Emscripten that works for me (not in chrome) is 1.27, have you tried it?

thanks…nope i’m using lastest build i presume…1.34.1, should i downgrade?

Hey,

It’s best to stick to 1.25 or 1.29 Emscripten as there have been issues with the newest versions. Downgrading shouldn’t be a problem. If that doesn’t work, please submit a question on AnswerHub. Have a great day!

Gonna try…Thanks …:cool:

Have you resolved this problem? I got same question here.TAT

Have you resolved this problem? I got same question here.TAT

Have you resolved this problem? I got same question here.TAT

What version of Unreal Engine are you working out of?

Hi I have the same.

When I use emscripten 1.34.1-64bit i have this error from file error 1.34.1-64bit
and when I use 1.29.0-64bit version I have this error:

Error: uncaught exception: abort() at jsStackTrace@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:1:18192
stackTrace@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:1:18375
abort@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:242:81207
hYX@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:233:554757
gAa@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:157:500381
nAa@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:157:503733
U1@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:857635
U2@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:876303
b1@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:824559
E4@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:947278
z4@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:943197
y4@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:943120
nGc@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:77:1202353
uGc@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:77:1207728
tq@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:20636
sq@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:12326
wr@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:107699
yr@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:93:108712
callMain@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:242:79512
doRun@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:242:80341
run/<@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:242:80509
setTimeout handlerrun@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:242:80434
runCaller@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:242:78811
removeRunDependency@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:1:24520
Browser.asyncLoad/<@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:1:197526
xhr_onload@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:1:197235
EventHandlerNonNull
Browser.xhrLoad@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:1:197153
Browser.asyncLoad@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:1:197359
@file:///H:/unreal/mieszkanie/HTML5/HTML5/UE4Game.js:242:78257

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

Emscripten 1.29 or 1.30 is the most stable at this time. I would suggest reverting back and trying again. Let me know how it works out for you. If it too fails, please submit an AnswerHub.

Thanks!

I create simple FPS test scene without additional geometry but I still have the same error. I’m using UE4 4.8.3 and emscripten 1.29

But when I install emscripten 1.29, some error appears and program install version 1.34.
In prompt window I do the next steps:

  1. emsdk install sdk-1.29.0-64bit
  2. emsdk activate sdk-1.29.0-64bit
    and it’s ok.

In Unreal Engine I choose emscripten 1.29 and package is successfully complete.
In FF appears error as above.

Have you updated your browser? I’ve been able to run HTML5 projects on without any trouble lately, could you tell me the process that you’re taking to push the project to HTML5? This may be an issue where an AnswerHub post may be necessary.

Thanks!

I’m getting this problem on Chrome and Firefox, but not on .

Hey ,

Have you created an AnswerHub for this issue yet? If not, please do so at this time so we can assist you as soon as possible.

Thanks! :slight_smile:

Try hosting the content, don’t run it from folder. Run it from http://localhost/

For example, use something like http-server.

Still the same problem.
I Packaged game in UE4.8 and UE4.9 (build sucessfull) and sent them on server.

Here is error for UE4.8:
http://3d-desire.com/un/48/apt1.html

Here is error for UE4.8:
http://3d-desire.com/un/48/apt1.html

Here is error for UE4.9:
http://3d-desire.com/un/49/apt1.html

I use Python 2.7 and emscripten in version 1.29.0 and here is engine files:
652294c074910a53acef2582056273d15fa73aff.jpeg

,

Have you submitted a question on AnswerHub yet? If so, please make sure you’ve provided as many and screenshots as possible to help us trace down the issue. Are there any other errors appearing besides ‘script error’? If so, include that in your AnswerHub post, thanks!

Hi :slight_smile:

Yes I did it almost 2 weeks ago but I don’t get any answer. I try one more time and this time I submit, as you said, as much as I can.

Thanks for your patience;)