mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
879893c30a
# Objective - `insert_reflect` relies on `reflect_type_path`, which doesn't gives the actual type path for object created by `clone_value`, leading to an unexpected panic. This is a workaround for it. - Fix #10590 ## Solution - Tries to get type path from `get_represented_type_info` if get failed from `reflect_type_path`. --- ## Defect remaining - `get_represented_type_info` implies a shortage on performance than using `TypeRegistry`. |
||
---|---|---|
.. | ||
bundle.rs | ||
component.rs | ||
entity_commands.rs | ||
map_entities.rs | ||
mod.rs | ||
resource.rs |