Fix Asset Loading Bug (#10698)
# 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.
This commit is contained in:
parent
208ecb53dc
commit
f613c450bc
@ -271,7 +271,7 @@ impl Display for UntypedAssetId {
|
||||
impl PartialEq for UntypedAssetId {
|
||||
#[inline]
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.internal().eq(&other.internal())
|
||||
self.type_id() == other.type_id() && self.internal().eq(&other.internal())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user