File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/bevy_mod_scripting_bindings/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ categories.workspace = true
1313readme.workspace = true
1414
1515[workspace .package ]
16- version = " 0.16.1 "
16+ version = " 0.16.0 "
1717edition = " 2024"
1818authors = [" Maksymilian Mozolewski <makspl17@gmail.com>" ]
1919license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -290,11 +290,11 @@ impl ReflectReference {
290290
291291 let untyped_handle = self . with_reflect ( world. clone ( ) , |reflect| {
292292 let reflect_any = reflect. try_as_reflect ( ) . ok_or_else ( || {
293- InteropError :: type_mismatch (
294- std:: any:: TypeId :: of :: < dyn bevy_reflect:: Reflect > ( ) ,
293+ InteropError :: unsupported_operation (
295294 Some ( handle_type_id) ,
295+ None ,
296+ "Asset handle must implement Reflect trait for asset operations" ,
296297 )
297- . with_context ( "Handle must implement Reflect trait for asset operations" )
298298 } ) ?;
299299
300300 reflect_handle
You can’t perform that action at this time.
0 commit comments