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

Hot reload labeled assets whose source asset is not loaded #9736

Merged
merged 2 commits into from
Oct 15, 2023

Conversation

cart
Copy link
Member

@cart cart commented Sep 9, 2023

Objective

As called out in #9714, Bevy Asset V2 fails to hot-reload labeled assets whose source asset has changed (in cases where the root asset is not alive).

Solution

Track alive labeled assets for a given source asset and allow hot reloads in cases where a labeled asset is still alive.

@cart cart added C-Bug An unexpected or incorrect behavior A-Assets Load files from disk to use for things like images, models, and sounds labels Sep 9, 2023
@cart cart added this to the 0.12 milestone Sep 9, 2023
@cart cart mentioned this pull request Sep 9, 2023
45 tasks
@cart cart added this pull request to the merge queue Oct 15, 2023
Merged via the queue into bevyengine:main with commit 49d5c6b Oct 15, 2023
21 checks passed
ameknite pushed a commit to ameknite/bevy that referenced this pull request Nov 6, 2023
…e#9736)

# Objective

As called out in bevyengine#9714, Bevy Asset V2 fails to hot-reload labeled assets
whose source asset has changed (in cases where the root asset is not
alive).

## Solution

Track alive labeled assets for a given source asset and allow hot
reloads in cases where a labeled asset is still alive.
rdrpenguin04 pushed a commit to rdrpenguin04/bevy that referenced this pull request Jan 9, 2024
…e#9736)

# Objective

As called out in bevyengine#9714, Bevy Asset V2 fails to hot-reload labeled assets
whose source asset has changed (in cases where the root asset is not
alive).

## Solution

Track alive labeled assets for a given source asset and allow hot
reloads in cases where a labeled asset is still alive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants