Asset loading lag #18337
Unanswered
andrewbaxter
asked this question in
Q&A
Asset loading lag
#18337
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a list in a menu, and when I switch items I do
assets.load()
for a bunch of images (~1080p?) which are displayed in a carousel. When this happens there's a bunch of lag in the UI. The only significant change when switching menu items is swapping images so I presume this is due to asset loading and there's other things that support that (switching back to the previous item is fast, more lag for items with more images, etc).Asset loading is supposed to be async, so I'm guessing I'm doing something wrong. Any ideas on what I could be doing wrong? Like maybe there's something external to the asset server that ends up blocking on the load?
I am using a custom shader, with
pub texture: Option<Handle<Image>>,
andFWIW.
Beta Was this translation helpful? Give feedback.
All reactions