vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
189 stars 43 forks source link

Chrome crashes on reload with some samples #140

Open dpavicic opened 7 years ago

dpavicic commented 7 years ago

If I reload Chrome with Ctrl + R ( example runs in the browser ) it will crash ( 100% reproducible ) with error message: 'Google Chrome ran out of memory while trying to display the webpage'. If you reload again it will display ok again and if I refresh again it will crash again and every time like that.

Examples:

Using: Haxe 3.4.0-rc.2 Lime 3.5.2

Firefox and Edge do not crash on reload.

RealyUniqueName commented 7 years ago

Does it work as expected with Haxe-3.3?

vujadin commented 7 years ago

@RealyUniqueName it works with Haxe 3.2

dpavicic commented 7 years ago

Tried out with haxe-3.3.0-rc.1-win but it throws an error on compile:

C:/HaxeToolkit/haxe/lib/lime/3,5,2/lime/utils/UInt32Array.hx:6: characters 25-44 : Type not found : js.html.Uint32Array

Guess that latest Lime ( 3.5.2 ) is not compatible with Haxe 3.3? Needs UInt32Array in standard js lib