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

Fix panic in benches caused by missing resources #16956

Conversation

omaskery
Copy link
Contributor

Objective

  • To fix the benches panicking on main

Solution

  • It appears that systems requiring access to a non-existing Res now causes a panic
  • Some of the benches run systems that access resources that have not been inserted into the world
  • I have made it so that those resources are inserted into the world

Testing

  • I ran all the ecs benches and they all run without panicking

@BenjaminBrienen BenjaminBrienen added C-Bug An unexpected or incorrect behavior A-ECS Entities, components, systems, and events C-Benchmarks Stress tests and benchmarks used to measure how fast things are S-Needs-Review Needs reviewer attention (from anyone!) to move forward D-Straightforward Simple bug fixes and API improvements, docs, test and examples labels Dec 24, 2024
@mockersf mockersf added this pull request to the merge queue Dec 24, 2024
Merged via the queue into bevyengine:main with commit a7ae080 Dec 24, 2024
34 checks passed
@omaskery omaskery deleted the stop-benchmarks-panicking-from-missing-resources branch December 24, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Benchmarks Stress tests and benchmarks used to measure how fast things are C-Bug An unexpected or incorrect behavior D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants