Jump to content

Internet Explorer with many assets loader issue.


elsioneto
 Share

Recommended Posts

HI everybody.

 

I'm using phaser 2.0.2 and I have an issue with I.E.

 

When I load my game, I keep getting warning and error messages like  "Phaser.Loader error loading file : 'foo' from URL 'fooUrl'"(Warning) and/or "Unable to set property "loaded" of undefined or null reference"(Error)

 

 

Through some debugging, I've commented all the audio files and the game worked. However, when I was uncommenting the audios loader blocks to load it again, the error kept reappering.

 

The issue also appeared when I loaded just some of the files and kept refreshing the page.

 

Does anyone knows anything about it?

 

Thanks in advance!

 

Edit: The problem occurs in windows 7! In windows 8.1 is fine (don't know about windows 8)

Link to comment
Share on other sites

It sounds very much like this problem I was having

 

http://www.html5gamedevs.com/topic/9557-failed-audio-file-request-gets-reported-as-failed-image-request-in-ie/

 

It would finally do the unable to set loaded on undefined message, after some other messages.

 

My problem was that the audio files didn't load and this was not being handled correctly - hiding the audio file loads and it worked without problem.  Obviously fixing the failed audio file loads also fixed the problem.

Link to comment
Share on other sites

On loader I get "Phaser.Loader error loading file : 'foo' from URL 'fooUrl'"

 

The warning only occurs on refresh page situations and with audio files

 

The game runs fine on a first load, but when I refresh, it keeps getting warnings loading assets (audios)

 

It seems to be a memory/cache issue of the I.E. , or something related do HTML audio...

 

Does anyone knows something about it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...