HTML5 - how to make it work?

I have tried to launch your html file with HTML5LaunchHelper and (pic)
But I’ve got only black screen… buuut it is big progress, there is no errors at least))

Please download Chrome and let me know if it works for you. I just tested a new project on Chrome using: http://localhost:8000//TestingHTML5.html and it loaded without any trouble.

This is the new project I tried, just so you’d have it too: [https://][1]

Thanks!

https://

Yes, it works! It works on Chrome and on . Why previos projects does not work? What is different?

I’m thinking it was because it was a blank project and there wasn’t a light in it. I’m glad it worked for you. Please let me know if you run into any further complications. :slight_smile:

Blank project have a light too. Till now I don’t find where is different.

I’m thinking I have solved the issue! It needs to set up default map in project settings)
Ok, at now I have another problem with my original project. I have got this message, how can I implement any of picked up instructions? (I tried on Chrome and )

Have you tried changing the memory settings withing Project Settings > HTML5? Also, how large if your project that you’re trying to run on HTML5? HTML5 isn’t like Windows, it can only handle what WebGL can handle, based on that browser. So if you have a 3 gigabyte project with a lot of memory usage, it either will throw errors, will not run, or it will take a really long time to load.

Let me know, thanks!

My project build is 50 Mb. Project folder is 90 Mb. I’ve tried to set mamory to 4096 Mb and it is not working.
I got this error: Assertion failed: Typed arrays 2 must be run on a little-endian system

I am looking into this further, we will respond to you as soon as we can. Thank you! :slight_smile:

Thank you, , for your participation) Maybe this error it is because my project has many components and mach more complex than blank projects.

It seems that from the screenshot, the memory error noted is probably due to an array going out of bounds. For example, some_data[value] where “value” is bigger than: 2^29 => 512 MB (which is 536870912 seen in the screenshot). It’s highly possible that a “negative number” or just a number that’s “very big” (like an “addresses”) was used here.

Regarding the “error: Assertion failed: Typed arrays 2 must be run on a little-endian system” the following was found:

  • Engine\Source\ThirdParty\HTML5\emsdk\emscripten\1.30.0\src\preamble.js
  • Engine\Source\ThirdParty\HTML5\emsdk\emscripten\1.30.0\third_party\lzma.js\lzma-decoder.js
  • Engine\Source\ThirdParty\HTML5\emsdk\emscripten\1.30.0\third_party\lzma.js\lzma-full.js
  • Engine\Source\ThirdParty\HTML5\emsdk\emscripten\1.30.0\tools\crunch-worker.js

Since these are all JS files, these will be running within the browsers. It looks as though you’re running on Windows, so we’re now assuming that the endianness isn’t the actual issue.

Instead, we believe that all of the available RAM has been used. It may be due to the fact that the HEAP was increased to 4GB thus not giving enough RAM to HEAP check.

  • Engine\Source\ThirdParty\HTML5\emsdk\emscripten\1.30.0\src\preamble.js – line 1431

Here are some additional links, if you’d like to learn more about [typed array details used within emscripten][1]. And, if you are interested, here are some additional in-depth details on [using typed arrays in HTML5][2].

Thanks!

+https://github.com/kripken/emscripten/wiki/Code-Generation-Modes
[2]: Typed arrays - Binary data in the browser

Thank you for your answer, but i don’t fully understand what I have to do with these .js files to fix the error?

We believe that all of the available RAM has been used. It may be due to the fact that the HEAP was increased to 4GB. Try lowering it some and let us know what happens.

Thank you!