voxell-tech/bevy_motiongfx

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

Closed this issue · 0 comments

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)