Skip to content

Asset can only be retrieved once #14819

Answered by k9
mixolydianmel asked this question in Q&A
Aug 19, 2024 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @mixolydianmel since your asset has RenderAssetUsages::RENDER_WORLD, during Extract https://bevy-cheatbook.github.io/gpu/stages.html it will be removed from the main world after its extracted into the render world. I ran into this same issue last week and it caused me a lot of confusion. I solved it by setting the usage to RenderAssetUsages::RENDER_WORLD | RenderAssetUsages::MAIN_WORLD. I'm not a bevy expert though so there may be details I'm missing.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mixolydianmel
Comment options

@mixolydianmel
Comment options

@k9
Comment options

Answer selected by mixolydianmel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants