You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing this error in IE 11 on Win 7 and Win 8 when I preload assets outside of the main preload() function:
SCRIPT5007: Unable to set property 'loaded' of undefined or null reference
File: phaser.min.js, Line: 9, Column: 28871
It only appears after the file has been loaded previously and the page is refreshed....it doesn't always appear ...whenever it happens the assets loaded cannot be used... The issue does not happen with Chrome/Firefox/Safari
The text was updated successfully, but these errors were encountered:
I'm pretty sure the problem is the way you're loading them in a loop. Phaser.Loader isn't set-up to handle simultaneous downloads (it's on the roadmap but not included yet). So the first audio file starts and gets told to call Loader.fileComplete when it finishes (which then decodes it and adds it to the cache), but before it has a chance you've started the Loader again and it's going to try and call the same callback but with a different set of data, and a different file index. I just reckon a race condition is happening and it takes a cache load to manifest.
I'm going to close this for now because I suspect the cause is simply trying to use the Loader in a way that it can't handle, but if you think otherwise feel free to re-open with a full code sample that I can run in browser.
I am seeing this error in IE 11 on Win 7 and Win 8 when I preload assets outside of the main preload() function:
SCRIPT5007: Unable to set property 'loaded' of undefined or null reference
File: phaser.min.js, Line: 9, Column: 28871
It only appears after the file has been loaded previously and the page is refreshed....it doesn't always appear ...whenever it happens the assets loaded cannot be used... The issue does not happen with Chrome/Firefox/Safari
The text was updated successfully, but these errors were encountered: