Link to .capx file (required!):
dl.dropboxusercontent.com/u/22937829/loadingbug/loadbugreport.capx
(There is just a sprite collection, no sounds or music.)
Steps to reproduce:
1. Upload the html5 exported game on your server
2. Press F12 (console) during loading screen to see the asset list being loaded
Observed result:
dl.dropboxusercontent.com/u/22937829/loadingbug/index.html
When the loading bar reaches 100%, some assets have not been loaded yet (this is random between 60% and 80%). If you put the browser object in your project (included in .capx file), the bar will reset from 100% to the real % loaded.
If the game loads too quickly you'll need to add some dummy sprites to make the game bigger (here I added 1Mb worth of dummy data), in order to observe the problem.
Expected result:
Every single asset should be loaded before showing 100% (as there is no music nor sound in the capx). Usually the first layout will work fine since its content is loaded first. However, if the user gets to another layout quickly it can block the whole game (due to current layout's assets not being fully loaded).
Browsers affected:
Chrome: yes
Firefox: No
Internet Explorer: No
Operating system & service pack:
Windows 7 64-bit. Service pack 1
Construct 2 version:
r150 (151 & 152 didn't introduce fixes for that issue but my teammate will try it anyway).
Thanks much for your time,
Nathan.