You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am an amateur coder and could really use some help! I am using Bevy (0.5) and bevy_ecs_tilemap (main) and attempting to spawn a dummy map (using my assets) by copying code almost verbatim from here. I am getting this error:
thread 'main' panicked at 'called Option::unwrap() on a None value', C:\Users\Me.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_render-0.5.0\src\pipeline\pipeline_compiler.rs:137:64
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Dec 05 11:58:21.225 ERROR gpu_descriptor::allocator: DescriptorAllocator is dropped while some descriptor sets were not deallocated
error: process didn't exit successfully: target\debug\my_game.exe (exit code: 0xc000041d)
I have tried cloning the repo and running the example directly and it works fine. Here is the relevant function in my code:
The crash appears to occur at this line: let layer_entity = map_query.build_layer(&mut commands, layer_builder, material_handle);
Thank you for taking the time to read this. I apologize in advance for mistakes/lack of clarity. If you have some thoughts, I would certainly appreciate the help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am an amateur coder and could really use some help! I am using Bevy (0.5) and bevy_ecs_tilemap (main) and attempting to spawn a dummy map (using my assets) by copying code almost verbatim from here. I am getting this error:
I have tried cloning the repo and running the example directly and it works fine. Here is the relevant function in my code:
The crash appears to occur at this line:
let layer_entity = map_query.build_layer(&mut commands, layer_builder, material_handle);
Thank you for taking the time to read this. I apologize in advance for mistakes/lack of clarity. If you have some thoughts, I would certainly appreciate the help!
Beta Was this translation helpful? Give feedback.
All reactions