Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes loadSprite and loadSound are not able to load the data #700

Open
jamtechdev opened this issue Apr 4, 2023 · 3 comments
Open

Comments

@jamtechdev
Copy link

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.

@slmjkdbtl
Copy link
Contributor

Hi! So it only happens sometimes and cannot be reliably reproduced? Does soft refresh fix it or only hard refresh does?

@jamtechdev
Copy link
Author

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.

@slmjkdbtl
Copy link
Contributor

Any chance the sprite is used before loadSprite() is called? If so that error will come up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants