voxell-tech / bevy_motiongfx

Motion graphics creation tool in Bevy. (Highly inspired by Motion Canvas and Manim)
Apache License 2.0
169 stars 3 forks source link

Panics when timeline `target_time` is non 0 when sequence is empty #9

Closed nixon-voxell closed 10 months ago

nixon-voxell commented 12 months ago

Logs

thread 'thread 'Compute Task Pool (7)Compute Task Pool (4)' panicked at ' panicked at D:\develop\projects\rust\bevy_motiongfx\crates\motiongfx_core\src\sequence.rsD:\develop\projects\rust\bevy_motiongfx\crates\motiongfx_core\src\sequence.rs::157157::3232
:
:
attempt to subtract with overflowattempt to subtract with overflow

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `motiongfx_core::sequence::sequence_player_system<bevy_asset::handle::Handle<bevy_pbr::pbr_material::StandardMaterial>, bevy_render::color::Color, bevy_asset::assets::Assets<bevy_pbr::pbr_material::StandardMaterial>>`!      
Encountered a panic in system `motiongfx_core::sequence::sequence_player_system<motiongfx_vello::vello_vector::rect::VelloRect, kurbo::rect::Rect, motiongfx_core::EmptyRes>`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!
error: process didn't exit successfully: `target\debug\examples\vello_basic.exe` (exit code: 101)