StageXL icon indicating copy to clipboard operation
StageXL copied to clipboard

Random json loading error in Chrome

Open avstudios opened this issue 10 years ago • 3 comments

Time to time I'm getting "Failed to load 1 resource(s)." error. It's random and always link to json file. If I check the network panel it looks the file was loaded so it has be some bug in ResourceManger or TextureAtlas classes. I've tested it with Firefox and have not noticed this problem.

avstudios avatar May 20 '14 11:05 avstudios

Very interesting, i have thought about an automatic retry feature for ResourceManager which would probably solve this problem. But it would be good to know why this happens in the first place.

bp74 avatar May 20 '14 14:05 bp74

That might help. The odd think is I've not noticed that problem perviously. When you fixed the bugs in IE I started using 0.9.2+1 version. I might be wrong but I think I saw that problem first time. So far all worked very well in Chrome for me.

avstudios avatar May 20 '14 15:05 avstudios

I will do some tests. Currently i'm not aware of any change which could cause this issue. Especially loading JSON files hasn't changed since the introduction of the TextureAtlas class.

bp74 avatar May 20 '14 15:05 bp74