UnrealEngineHTML5 / Documentation

532 stars 183 forks source link

Uncaught TypeError/RuntimeError on Chrome/Opera + infinite loading wheel on Firefox and IndexDB related error #34

Open nooxouille opened 4 years ago

nooxouille commented 4 years ago

Hello people! 4.24 HTML5 fork here, build went well (either on dev/shipping configuration). When tested on localhost (XAMPP, windows) with both Opera and Chrome I am getting 2 different errors:

Opera :

Uncaught TypeError: Module._emscripten_futex_wake is not a function

Chrome :

Uncaught TypeError: Module._emscripten_futex_wake is not a function Uncaught RuntimeError: float unrepresentable in integer range

And the infinite loading wheel on Firefox :

NLCarLBc2s

That wheel come with an error message when IndexDB storage is check in the settings (I have tried with it check/uncheck) :

Failed to store file wasmModule to IndexedDB, error: DataCloneError: The object could not be cloned.

nickshinpho commented 4 years ago

have you merged latest upstream to 4.24.3?

if not, have you built for multi-threading?

nooxouille commented 4 years ago

Hey! I have not merged on 4.24.3 as I am still on 4.24.0. The build was multi-threading, indeed (as advised in the guidelines)

nickshinpho commented 4 years ago

is this developer build? (people have reported that shipping does not work -- also in #14)

nickshin commented 4 years ago

also, can you test with chrome canary and firefox nightly -- i've just confirmed that those two are working. (albeit that was tested with the 4.24.3 i just pushed up...)

nooxouille commented 4 years ago

is this developer build? (people have reported that shipping does not work -- also in #14)

I tried with both (dev & ship).

@nickshin

Nightly:

ReferenceError: SharedArrayBuffer is not defined

Canary

Uncaught TypeError: Module._emscripten_futex_wake is not a function

Might try to go on 4.24.3

kainino0x commented 4 years ago

Firefox currently requires an extra flag for SAB: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#Browser_compatibility

fllyingburritos commented 4 years ago

I am having the same problem with 4.24.3 (or whatever the newest version on this github page is)

nickshinpho commented 3 years ago

@nooxouille @fllyingburritos are you both still seeing this multi-threading error issue?

nooxouille commented 3 years ago

@nickshinpho Hi!

I should have updated it but I moved on something else as the errors were blocking me (Unity + webGL). I haven't tried again lately.