-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Bug in asset loading #10695
Comments
Found it. |
I'll start looking into this once I get home. That commit should only have a handful of observable changes that could even be the cause of any change in behavior. |
The |
This looks like a race condition, |
Really sorry to tell you: |
# Objective - Fixes #10695 ## Solution Fixed obvious blunder in `PartialEq` implementation for `UntypedAssetId`'s where the `TypeId` was not included in the comparison. This was not picked up in the unit tests I added because they only tested over a single asset type.
# Objective There is a double hash for the typeid for asset handles. (see [this](#10695 (comment)) for more info) ## Solution - Remove the second hash of the typeid
# Objective - Fixes bevyengine#10695 ## Solution Fixed obvious blunder in `PartialEq` implementation for `UntypedAssetId`'s where the `TypeId` was not included in the comparison. This was not picked up in the unit tests I added because they only tested over a single asset type.
# Objective There is a double hash for the typeid for asset handles. (see [this](bevyengine#10695 (comment)) for more info) ## Solution - Remove the second hash of the typeid
Bevy version
Using git bisect show 57a175f as the commit which introduced the issue.
cc @bushrat011899
What you did
Run my Bevy app.
What went wrong
Panic in asset on getting
infos
.For me it seems to relate to loading things within a gltf model- if I add some more logging around the bad unwrap I see the asset path is stuff like a
Mesh1
orAnimation1
within one of my gltf models.Additional information
Other discord users hit the same issue:
https://discordapp.com/channels/691052431525675048/749332104487108618/1176633456835428453
That backtrace points to:
bevy/crates/bevy_asset/src/server/info.rs
Line 196 in 57a175f
which I have hit as well.
But I have also hit this one:
bevy/crates/bevy_asset/src/server/info.rs
Line 397 in 57a175f
and the same discord user has hit this one:
bevy/crates/bevy_asset/src/server/info.rs
Line 410 in 57a175f
The text was updated successfully, but these errors were encountered: