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
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
Sometimes, at random, textures simply decide they should not load. AssetLoader.getTexture returns a "bricked" HTMLImageElement, load and error events are never fired and the image never exists this "limbo" state. Clearing the cache does not seem to fix it as when a new image is created and assigned the URL of the "bricked" image it also gets "bricked". The devtools preview shows a missing image with everything apart from that seemingly normal. This issue seems to be impossible to replicate on Firefox but easily on Brave.
The text was updated successfully, but these errors were encountered:
It also seems like the texture has to be loaded "naturally" for it to be "bricked". Forcefully loading the texture by calling loader.getTexture does not seem to trigger the issue.
I would hypothesize that the problem is the server side being somehow overloaded by socket.io and/or the number of textures being fetched at once and not sending the texture properly. But if the issue was server side then it would not make sense for it to be browser-dependent, would it? Well actually maybe Firefox re-tries to get the image if it fails the first time explaining why the image will not "brick".
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sometimes, at random, textures simply decide they should not load.
AssetLoader.getTexture
returns a "bricked"HTMLImageElement
, load and error events are never fired and the image never exists this "limbo" state. Clearing the cache does not seem to fix it as when a new image is created and assigned the URL of the "bricked" image it also gets "bricked". The devtools preview shows a missing image with everything apart from that seemingly normal. This issue seems to be impossible to replicate on Firefox but easily on Brave.The text was updated successfully, but these errors were encountered: