# \[Bug Report\] HTML5 app fails to launch properly

**URL:** <https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340>\
**Category:** Platform & Builds\
**Tags:** HTML5, unreal-engine, crash, bug-report, question\
**Created:** [March 5, 2015, 8:36am UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340 "2015-03-05T08:36:56Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimau\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rimau\_1](https://forums.unrealengine.com/u/rimau_1)\
**Post date:** [March 5, 2015, 8:36am UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/1 "2015-03-05T08:36:56Z")

</div>

Hi

This is what I get trying to run my app in HTML5.

Error: uncaught exception: abort() at jsStackTrace@[http://127.0.0.1:8000/UE4Game.js:853:12](http://127.0.0.1:8000/UE4Game.js:853:12)  
stackTrace@[http://127.0.0.1:8000/UE4Game.js:867:21](http://127.0.0.1:8000/UE4Game.js:867:21)  
abort@[http://127.0.0.1:8000/UE4Game.js:5090709:24](http://127.0.0.1:8000/UE4Game.js:5090709:24)  
b130@[http://127.0.0.1:8000/UE4Game.js:5083739:2](http://127.0.0.1:8000/UE4Game.js:5083739:2)  
\_\_ZN15SElementTesting14TestBoxElementERK21FOnPaintHandlerParams [SElementTesting::TestBoxElement(FOnPaintHandlerParams?&)]@[http://127.0.0.1:8000/UE4Game.js:3929422:7](http://127.0.0.1:8000/UE4Game.js:3929422:7)  
\_FT\_CMap\_New@[http://127.0.0.1:8000/UE4Game.js:2384132:24](http://127.0.0.1:8000/UE4Game.js:2384132:24)  
\_cff\_face\_init@[http://127.0.0.1:8000/UE4Game.js:605382:26](http://127.0.0.1:8000/UE4Game.js:605382:26)  
\_open\_face@[http://127.0.0.1:8000/UE4Game.js:2100038:80](http://127.0.0.1:8000/UE4Game.js:2100038:80)  
\_FT\_Open\_Face@[http://127.0.0.1:8000/UE4Game.js:1210075:26](http://127.0.0.1:8000/UE4Game.js:1210075:26)  
\_FT\_New\_Memory\_Face@[http://127.0.0.1:8000/UE4Game.js:3621742:21](http://127.0.0.1:8000/UE4Game.js:3621742:21)  
\_\_ZN18FFreeTypeInterface11GetFontFaceERK9FFontData [FFreeTypeInterface::GetFontFace(FFontData?&)]@[http://127.0.0.1:8000/UE4Game.js:1733747:10](http://127.0.0.1:8000/UE4Game.js:1733747:10)  
\_\_ZN18FFreeTypeInterface13GetRenderDataERK9FFontDataiwR20FCharacterRenderDataf [FFreeTypeInterface::GetRenderData(int&, wchar\_t, float&)]@[http://127.0.0.1:8000/UE4Game.js:1409108:8](http://127.0.0.1:8000/UE4Game.js:1409108:8)  
\_\_ZN18FFreeTypeInterface12GetMaxHeightERK14FSlateFontInfof [FFreeTypeInterface::GetMaxHeight(float&)]@[http://127.0.0.1:8000/UE4Game.js:3879446:2](http://127.0.0.1:8000/UE4Game.js:3879446:2)  
\_\_ZNK14FCharacterList12GetMaxHeightEv [FCharacterList::GetMaxHeight()]@[http://127.0.0.1:8000/UE4Game.js:4303155:7](http://127.0.0.1:8000/UE4Game.js:4303155:7)  
\_\_ZNK17FSlateFontMeasure21MeasureStringInternalERK7FStringiiRK14FSlateFontInfobfiNS\_25ELastCharacterIndexFormatERi [FSlateFontMeasure::MeasureStringInternal?N(int&, int, bool&, float, int)]@[http://127.0.0.1:8000/UE4Game.js:1095584:8](http://127.0.0.1:8000/UE4Game.js:1095584:8)  
\_\_ZNK17FSlateFontMeasure7MeasureERK7FStringiiRK14FSlateFontInfobf [FSlateFontMeasure::Measure(int&, int, bool&, float)]@[http://127.0.0.1:8000/UE4Game.js:4314335:2](http://127.0.0.1:8000/UE4Game.js:4314335:2)  
\_\_ZNK13FSlateTextRun7MeasureEiif [FSlateTextRun::Measure(int, int, float)]@[http://127.0.0.1:8000/UE4Game.js:2655519:2](http://127.0.0.1:8000/UE4Game.js:2655519:2)  
\_\_ZNK11FTextLayout9FRunModel11CreateBlockERKNS\_16FBlockDefinitionEf [FTextLayout::FRunModel::CreateBlock?S(undefined?N?&)]@[http://127.0.0.1:8000/UE4Game.js:825731:3](http://127.0.0.1:8000/UE4Game.js:825731:3)  
\_\_ZN11FTextLayout20CreateLineViewBlocksEiiRiS0\_S0\_R6TArrayI10TSharedRefI12ILayoutBlockL7ESPMode0EE17FDefaultAllocatorE [FTextLayout::CreateLineViewBlocks?S(int, int, int&)]@[http://127.0.0.1:8000/UE4Game.js:701214:4](http://127.0.0.1:8000/UE4Game.js:701214:4)  
\_\_ZN11FTextLayout14FlowLineLayoutEifR6TArrayI10TSharedRefI12ILayoutBlockL7ESPMode0EE17FDefaultAllocatorE [FTextLayout::FlowLineLayout(int, float, undefined?0? TArray?e?\>?&)]@[http://127.0.0.1:8000/UE4Game.js:1606004:2](http://127.0.0.1:8000/UE4Game.js:1606004:2)  
\_\_ZN11FTextLayout10FlowLayoutEv [FTextLayout::FlowLayout()]@[http://127.0.0.1:8000/UE4Game.js:3595895:4](http://127.0.0.1:8000/UE4Game.js:3595895:4)  
\_\_ZN11FTextLayout12UpdateLayoutEv [FTextLayout::UpdateLayout()]@[http://127.0.0.1:8000/UE4Game.js:4332144:2](http://127.0.0.1:8000/UE4Game.js:4332144:2)  
\_\_ZN11FTextLayout14UpdateIfNeededEv [FTextLayout::UpdateIfNeeded()]@[http://127.0.0.1:8000/UE4Game.js:4322948:3](http://127.0.0.1:8000/UE4Game.js:4322948:3)  
\_\_ZN16FTextBlockLayout18ComputeDesiredSizeERKNS\_11FWidgetArgsERK15FTextBlockStyle [FTextBlockLayout::ComputeDesiredSize?S(undefined?N?&)]@[http://127.0.0.1:8000/UE4Game.js:1578063:2](http://127.0.0.1:8000/UE4Game.js:1578063:2)  
\_\_ZNK10STextBlock18ComputeDesiredSizeEv [STextBlock::ComputeDesiredSize()]@[http://127.0.0.1:8000/UE4Game.js:3260203:2](http://127.0.0.1:8000/UE4Game.js:3260203:2)  
\_\_ZN7SWidget16CacheDesiredSizeEv [SWidget::CacheDesiredSize()]@[http://127.0.0.1:8000/UE4Game.js:4469274:2](http://127.0.0.1:8000/UE4Game.js:4469274:2)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499877:3](http://127.0.0.1:8000/UE4Game.js:3499877:3)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZN7SWidget12SlatePrepassEv [SWidget::SlatePrepass()]@[http://127.0.0.1:8000/UE4Game.js:3499885:42](http://127.0.0.1:8000/UE4Game.js:3499885:42)  
\_\_ZL24PrepassWindowAndChildren10TSharedRefI7SWindowL7ESPMode0EE [PrepassWindowAndChildren?1()]@[http://127.0.0.1:8000/UE4Game.js:1758362:2](http://127.0.0.1:8000/UE4Game.js:1758362:2)  
\_\_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE [FSlateApplication::DrawPrepass?1()]@[http://127.0.0.1:8000/UE4Game.js:1764286:5](http://127.0.0.1:8000/UE4Game.js:1764286:5)  
\_\_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE [FSlateApplication::PrivateDrawWindows?1()]@[http://127.0.0.1:8000/UE4Game.js:956890:3](http://127.0.0.1:8000/UE4Game.js:956890:3)  
\_\_ZN17FSlateApplication11DrawWindowsEv [FSlateApplication::DrawWindows()]@[http://127.0.0.1:8000/UE4Game.js:4545346:2](http://127.0.0.1:8000/UE4Game.js:4545346:2)  
\_\_ZN17FSlateApplication4TickEv [FSlateApplication::Tick()]@[http://127.0.0.1:8000/UE4Game.js:714940:2](http://127.0.0.1:8000/UE4Game.js:714940:2)  
\_\_ZN11FEngineLoop4TickEv [FEngineLoop::Tick()]@[http://127.0.0.1:8000/UE4Game.js:340600:3](http://127.0.0.1:8000/UE4Game.js:340600:3)  
\_\_Z10HTML5\_Tickv [HTML5\_Tick()]@[http://127.0.0.1:8000/UE4Game.js:5045278:2](http://127.0.0.1:8000/UE4Game.js:5045278:2)  
dynCall\_v@[http://127.0.0.1:8000/UE4Game.js:5082539:2](http://127.0.0.1:8000/UE4Game.js:5082539:2)  
Runtime.dynCall@[http://127.0.0.1:8000/UE4Game.js:189:11](http://127.0.0.1:8000/UE4Game.js:189:11)  
Browser\_mainLoop\_runner/\<@[http://127.0.0.1:8000/UE4Game.js:9649:5](http://127.0.0.1:8000/UE4Game.js:9649:5)  
Browser.mainLoop.runIter@[http://127.0.0.1:8000/UE4Game.js:8348:5](http://127.0.0.1:8000/UE4Game.js:8348:5)  
Browser\_mainLoop\_runner@[http://127.0.0.1:8000/UE4Game.js:9645:3](http://127.0.0.1:8000/UE4Game.js:9645:3)

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

And this is how the rendering looks like:  
[http://i.imgur.com/n8ruZkt.jpg](http://i.imgur.com/n8ruZkt.jpg)

Basically there is nothing fancy in there, just an ArchViz appartment with pretty much standard scene settings with just w few Blueprints to change objects’ color or show an information panel, nothing more. And some UMG UI of course, which seems to be causing the problem, as “Slate” does come quite often int the error log. I am using a custom font for the UMG widgets.

You can check how it’s supposed to look and work like here: [http://pro.cameleon-labs.com](http://pro.cameleon-labs.com), the Big Black Button down the page will start the download of the Win app.

I am using UE 4.7.2 and .

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 5, 2015, 7:31pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/2 "2015-03-05T19:31:29Z")

</div>

Hey ,

Did you obtain the Engine through our Launcher or through GitHub? Could you please provide me the exact steps you took to launch your project in the format of HTML5? For instance, did you simply launch on, package or use Unreal FrontEnd?

Looking forward to hearing from you, thanks!

---

<div class="post-metadata">

**Author:** ![rimau\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rimau\_1](https://forums.unrealengine.com/u/rimau_1)\
**Post date:** [March 5, 2015, 7:55pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/3 "2015-03-05T19:55:57Z")

</div>

Hi

I am using the launcher version of the engine.  
The project was made entirely in 4.6.1  
Than it was converted to 4.7, than the two hotfixes came.  
And I did use the “Launch the game on this HTML5 device” option from the editor.  
I did also try to package the game for HTML5, and the result was the same.  
I can upload the project itself, and provide you with a download link if that helps, just let me know can I send you the link.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 5, 2015, 8:00pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/4 "2015-03-05T20:00:04Z")

</div>

Hey ,

Have you tried pushing a project to HTML5 from one of our templates? Did you encounter the same issue?

Could you please go ahead and upload your project for me? I can then investigate further for you. Just provide me with the link when you’re ready.

Thanks!

---

<div class="post-metadata">

**Author:** ![rimau\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rimau\_1](https://forums.unrealengine.com/u/rimau_1)\
**Post date:** [March 5, 2015, 8:18pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/5 "2015-03-05T20:18:54Z")

</div>

Hi

I did push one simple, almost an empty project, and it seemed fine. I will zip the files and post the link.

---

<div class="post-metadata">

**Author:** ![rimau\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rimau\_1](https://forums.unrealengine.com/u/rimau_1)\
**Post date:** [March 5, 2015, 8:46pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/6 "2015-03-05T20:46:47Z")

</div>

Hi

You can download the project: [http://pro.cameleon-labs.com/dl/AppSmall47.zip](http://pro.cameleon-labs.com/dl/AppSmall47.zip)

---

<div class="post-metadata">

**Author:** ![rimau\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rimau\_1](https://forums.unrealengine.com/u/rimau_1)\
**Post date:** [March 6, 2015, 12:07pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/7 "2015-03-06T12:07:03Z")

</div>

Hi

I have pushed the Sun Temple scene to HTML5 just to test it out. It launched and rendered just fine, the only problem being some inprecise mouse behaviour. So we can surely narrow this down to the project features, as the machine and the engine instalation are 100% capable of pushing a functional HTML5 scene.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 6, 2015, 4:21pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/8 "2015-03-06T16:21:59Z")

</div>

Hey ,

Thanks for looking into Sun Temple on HTML5. I’m glad that HTML5 is set up correctly on your machine.

After packaging your game in HTML5 and running it on a SimpleHTTPServer, I was unable to get the game to function. I received an error: “Warning: Unresponsive Script”. I tried this twice, selecting continue and selecting debut script within the warning message. I wasn’t able to get it to function as a game in HTML5 at all.

However, I was able to launch your project onto Windows and it worked perfectly fine.

I have submitted a question to our HTML5 developers for more information regarding the errors and I received while working on your project. I should receive some information soon.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 11, 2015, 2:21pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/9 "2015-03-11T14:21:48Z")

</div>

Hey ,

I haven’t heard from you in a few days regarding the issue however, I did check on the bug report status. This is a major issue that they’re working on at this time, but it hasn’t been resolved as of yet. If you have any further questions regarding this specific issue, feel free to contact us back at any time on this thread, or reference: UE-11410.

Thank you!

---

<div class="post-metadata">

**Author:** ![rimau\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rimau\_1](https://forums.unrealengine.com/u/rimau_1)\
**Post date:** [March 11, 2015, 2:44pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/10 "2015-03-11T14:44:20Z")

</div>

Hi  
I am (patiently) waiting for the solution simply hoping that the fix will make it into the next release. If the HTML5 guys come up with some kind of a temporary workaround I would be really greatfull if you could post it here as well.

Thank you, and have a nice day.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 11, 2015, 4:04pm UTC](https://forums.unrealengine.com/t/bug-report-html5-app-fails-to-launch-properly/309340/11 "2015-03-11T16:04:41Z")

</div>

Hey ,

I can’t guarantee when it’ll be fixed however, I’ll keep a watch on my reports submitted for any updates.

Have a great one! 🙂
