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 is what I was thinking, though I'm using a tag to not keep the cache 

 

I keep getting a warning and a error

 

the warning is  "Phaser.Loader error loading file : 'someAsset' from URL 'someUrl'"

 

and the error is :  "Unable to set property "loaded" of undefined or null reference"

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

 Share

  • Recently Browsing   0 members

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