Hello. For some of 100+ files net::ERR_CONNECTION_RESET 200 OK error happens sometimes (every time for different files and in 1 in 20 times game even loads successfully). I failed to google what that error even means. Errors I dealt with previously was 404 (Not Found) which was caused both by absent network or absent files, so I was just reloading the whole page hoping for network connection to recover.
Anyway, error is an error, so failed files need to be recovered somehow, but I don't know how to catch what files failed to load?
PIXI.loader.onError.add( w => console.log( w ) )
Prints: Error: Failed to load element using: IMG
Is there a way to know which file failed to load? How can I add failed file back to the loading bundle continuing the ongoing loading process? If sub-resource failed to load (for example, .png file of .json spritesheet) should I re-queue that sub-resource or it's parent?
Hello. For some of 100+ files net::ERR_CONNECTION_RESET 200 OK error happens sometimes (every time for different files and in 1 in 20 times game even loads successfully). I failed to google what that error even means. Errors I dealt with previously was 404 (Not Found) which was caused both by absent network or absent files, so I was just reloading the whole page hoping for network connection to recover.
Anyway, error is an error, so failed files need to be recovered somehow, but I don't know how to catch what files failed to load?
PIXI.loader.onError.add( w => console.log( w ) )
Prints: Error: Failed to load element using: IMGIs there a way to know which file failed to load? How can I add failed file back to the loading bundle continuing the ongoing loading process? If sub-resource failed to load (for example, .png file of .json spritesheet) should I re-queue that sub-resource or it's parent?
Thanks in advance.