kaboom
kaboom copied to clipboard
Sometimes loadSprite and loadSound are not able to load the data
I found that sometimes these functions loadSprite and loadSound are not able to load the content and show an Error message like xyz.png not found but after doing a hard refresh it starts working.
Hi! So it only happens sometimes and cannot be reliably reproduced? Does soft refresh fix it or only hard refresh does?
Hello, it happen sometimes: cases : 1- When I add a new object, make significant changes in code, or host the code on the server. 2- It fixed after hard refresh one or multiple times.
Any chance the sprite is used before loadSprite()
is called? If so that error will come up