Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: rmf_site crashing on model spawn #240

Open
1 task done
tomkimsour opened this issue Oct 21, 2024 · 1 comment
Open
1 task done

[Bug]: rmf_site crashing on model spawn #240

tomkimsour opened this issue Oct 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tomkimsour
Copy link

Before proceeding, is there an existing issue or discussion for this?

OS and version

Ubuntu 22.04

Open-RMF installation type

Source build

Other Open-RMF installation methods

No response

Open-RMF version or commit hash

humble

ROS distribution

Humble

ROS installation type

Binaries

Other ROS installation methods

No response

Package or library, if applicable

No response

Description of the bug

I was spawning many OpenRobotics/OfficeChairGrey and after some time the program crashed with the following.

thread 'main' panicked at /home/thomasung/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.12.1/src/system/commands/mod.rs:1022:13:
error[B0003]: Could not insert a bundle (of type `bevy_mod_raycast::deferred::RaycastMesh<librmf_site_editor::interaction::SiteRaycastSet>`) for entity 2459v3 because it doesn't exist in this World.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic when applying buffers for system `librmf_site_editor::interaction::gizmo::make_gizmos_pickable`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!

Steps to reproduce the bug

  • cargo run --features bevy/dynamic_linking --release <some_file_path>
  • start spawning OpenRobotics/OfficeChairGrey using the editor
  • it would crash at some point ?

Expected behavior

No response

Actual behavior

No response

Additional information or screenshots

No response

@tomkimsour tomkimsour added the bug Something isn't working label Oct 21, 2024
@luca-della-vedova
Copy link
Member

Hi!

Can you try #238 and see if that works for you? Model spawning was a fairly complex beast and we recently refactored it to avoid precisely these kind of issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants