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

[Merged by Bors] - Fix panicking on another scope #6524

Closed
wants to merge 1 commit into from

Conversation

james7132
Copy link
Member

@james7132 james7132 commented Nov 9, 2022

Objective

Fix #6453.

Solution

Use the solution mentioned in the issue by catching the unwind and dropping the error. Wrap the executor.try_tick calls with std::catch::unwind.

Ideally this would be moved outside of the hot loop, but the mut ref to the spawned future is not UnwindSafe.

This PR only addresses the bug, we can address the perf issues (should there be any) later.

@james7132 james7132 added C-Bug An unexpected or incorrect behavior A-Tasks Tools for parallel and async work labels Nov 9, 2022
@james7132 james7132 requested a review from hymm November 9, 2022 03:10
@hymm hymm added the P-Unsound A bug that results in undefined compiler behavior label Nov 14, 2022
@hymm
Copy link
Contributor

hymm commented Nov 14, 2022

FYI I tried to move it out of the hot loop and haven't figured out a way yet that works. Wrapping executor.run(local_executor.tick().or(get_results) with a catch_unwind doesn't work. A key piece of this pr is that the scope keeps executing after the panic. Wrapping the whole loop in a catch_unwind would also not work for the same reason. It would break the loop and execution would not continue.

Edit: figured out there is a async catch unwind. will try that and see if that works.

@james7132
Copy link
Member Author

We should probably benchmark this. I don't think the extra overhead of catch_unwind is all that big of a deal, even in a hot loop like this.

@james7132 james7132 added the S-Needs-Benchmarking This set of changes needs performance benchmarking to double-check that they help label Nov 15, 2022
@hymm
Copy link
Contributor

hymm commented Nov 15, 2022

small regression on many foxes

image

busy systems sees some random regressions and contrived sees a small consistent regression. empty systems are consistently improved which seems a bit suspicious. Might be that ticking slower actually improves performance on empty systems (less contention).

group                                          main                                    pr
-----                                          -----------------                       ----------
busy_systems/01x_entities_03_systems           1.15     30.2±5.96µs        ? ?/sec     1.00     26.3±0.38µs        ? ?/sec
busy_systems/01x_entities_06_systems           1.02     48.4±0.49µs        ? ?/sec     1.00     47.3±0.51µs        ? ?/sec
busy_systems/01x_entities_09_systems           1.00     74.4±0.73µs        ? ?/sec     1.05     78.4±3.20µs        ? ?/sec
busy_systems/01x_entities_12_systems           1.01    102.0±1.37µs        ? ?/sec     1.00    101.3±5.78µs        ? ?/sec
busy_systems/01x_entities_15_systems           1.03    122.0±1.37µs        ? ?/sec     1.00    118.0±2.96µs        ? ?/sec
busy_systems/02x_entities_03_systems           1.04     50.1±0.39µs        ? ?/sec     1.00     48.1±9.37µs        ? ?/sec
busy_systems/02x_entities_06_systems           1.00     91.7±1.45µs        ? ?/sec     1.03    94.3±13.52µs        ? ?/sec
busy_systems/02x_entities_09_systems           1.11    148.5±4.04µs        ? ?/sec     1.00    133.7±6.60µs        ? ?/sec
busy_systems/02x_entities_12_systems           1.09    190.8±1.54µs        ? ?/sec     1.00    175.6±2.66µs        ? ?/sec
busy_systems/02x_entities_15_systems           1.06    231.6±3.41µs        ? ?/sec     1.00    218.3±3.59µs        ? ?/sec
busy_systems/03x_entities_03_systems           1.06     67.7±0.69µs        ? ?/sec     1.00     64.2±0.54µs        ? ?/sec
busy_systems/03x_entities_06_systems           1.00    133.1±7.55µs        ? ?/sec     1.06    141.6±1.87µs        ? ?/sec
busy_systems/03x_entities_09_systems           1.00    194.4±2.55µs        ? ?/sec     1.02    199.0±2.03µs        ? ?/sec
busy_systems/03x_entities_12_systems           1.00    265.4±5.64µs        ? ?/sec     1.00    264.2±4.29µs        ? ?/sec
busy_systems/03x_entities_15_systems           1.00    316.5±3.22µs        ? ?/sec     1.02    323.8±4.72µs        ? ?/sec
busy_systems/04x_entities_03_systems           1.00     82.7±0.83µs        ? ?/sec     1.09     89.8±1.15µs        ? ?/sec
busy_systems/04x_entities_06_systems           1.00    171.7±1.95µs        ? ?/sec     1.05    180.8±2.85µs        ? ?/sec
busy_systems/04x_entities_09_systems           1.00    250.8±3.12µs        ? ?/sec     1.04   261.7±18.56µs        ? ?/sec
busy_systems/04x_entities_12_systems           1.00    339.5±4.68µs        ? ?/sec     1.04    354.6±8.06µs        ? ?/sec
busy_systems/04x_entities_15_systems           1.00    421.3±4.59µs        ? ?/sec     1.05   441.8±27.38µs        ? ?/sec
busy_systems/05x_entities_03_systems           1.03    111.4±2.06µs        ? ?/sec     1.00    108.3±3.08µs        ? ?/sec
busy_systems/05x_entities_06_systems           1.00    220.8±2.38µs        ? ?/sec     1.00    220.2±3.48µs        ? ?/sec
busy_systems/05x_entities_09_systems           1.00    319.5±5.75µs        ? ?/sec     1.01    322.0±2.66µs        ? ?/sec
busy_systems/05x_entities_12_systems           1.00    419.2±4.23µs        ? ?/sec     1.05    441.5±6.03µs        ? ?/sec
busy_systems/05x_entities_15_systems           1.00   540.9±23.21µs        ? ?/sec     1.02   551.0±10.23µs        ? ?/sec
contrived/01x_entities_03_systems              1.00     13.6±0.30µs        ? ?/sec     1.17     15.9±0.41µs        ? ?/sec
contrived/01x_entities_06_systems              1.00     27.3±0.78µs        ? ?/sec     1.06     29.0±0.76µs        ? ?/sec
contrived/01x_entities_09_systems              1.00     41.4±0.58µs        ? ?/sec     1.07     44.1±0.90µs        ? ?/sec
contrived/01x_entities_12_systems              1.02     55.3±0.80µs        ? ?/sec     1.00     54.4±1.62µs        ? ?/sec
contrived/01x_entities_15_systems              1.00     64.4±1.03µs        ? ?/sec     1.13     72.8±9.32µs        ? ?/sec
contrived/02x_entities_03_systems              1.01     25.5±0.67µs        ? ?/sec     1.00     25.3±1.06µs        ? ?/sec
contrived/02x_entities_06_systems              1.00     47.4±1.02µs        ? ?/sec     1.02     48.4±1.15µs        ? ?/sec
contrived/02x_entities_09_systems              1.00     69.1±0.81µs        ? ?/sec     1.02     70.7±1.34µs        ? ?/sec
contrived/02x_entities_12_systems              1.00     93.1±1.14µs        ? ?/sec     1.01     93.6±1.42µs        ? ?/sec
contrived/02x_entities_15_systems              1.00    116.4±2.85µs        ? ?/sec     1.03    120.2±2.10µs        ? ?/sec
contrived/03x_entities_03_systems              1.00     33.5±1.91µs        ? ?/sec     1.02     34.1±0.53µs        ? ?/sec
contrived/03x_entities_06_systems              1.00     65.9±1.29µs        ? ?/sec     1.01     66.8±2.83µs        ? ?/sec
contrived/03x_entities_09_systems              1.00     98.8±7.07µs        ? ?/sec     1.02    100.6±2.82µs        ? ?/sec
contrived/03x_entities_12_systems              1.00    130.5±1.69µs        ? ?/sec     1.01    131.8±1.62µs        ? ?/sec
contrived/03x_entities_15_systems              1.00    159.3±1.51µs        ? ?/sec     1.02    161.7±1.81µs        ? ?/sec
contrived/04x_entities_03_systems              1.00     40.8±0.68µs        ? ?/sec     1.02     41.4±0.56µs        ? ?/sec
contrived/04x_entities_06_systems              1.00     79.6±0.94µs        ? ?/sec     1.04     82.5±0.73µs        ? ?/sec
contrived/04x_entities_09_systems              1.00    121.3±1.95µs        ? ?/sec     1.04   125.9±10.83µs        ? ?/sec
contrived/04x_entities_12_systems              1.00    159.9±2.97µs        ? ?/sec     1.03    164.3±4.11µs        ? ?/sec
contrived/04x_entities_15_systems              1.00    200.5±6.89µs        ? ?/sec     1.02    204.0±3.24µs        ? ?/sec
contrived/05x_entities_03_systems              1.00     47.9±0.97µs        ? ?/sec     1.03     49.4±0.80µs        ? ?/sec
contrived/05x_entities_06_systems              1.00     96.2±1.50µs        ? ?/sec     1.00     96.0±1.91µs        ? ?/sec
contrived/05x_entities_09_systems              1.00    142.2±3.02µs        ? ?/sec     1.03    146.7±1.88µs        ? ?/sec
contrived/05x_entities_12_systems              1.00    191.3±2.12µs        ? ?/sec     1.01    193.4±6.07µs        ? ?/sec
contrived/05x_entities_15_systems              1.00    234.6±6.74µs        ? ?/sec     1.03    241.8±2.18µs        ? ?/sec
empty_systems/000_systems                      1.00     47.2±0.70ns        ? ?/sec     1.07     50.4±0.41ns        ? ?/sec
empty_systems/001_systems                      1.02  1702.9±22.27ns        ? ?/sec     1.00  1677.4±32.44ns        ? ?/sec
empty_systems/002_systems                      1.04      2.2±0.02µs        ? ?/sec     1.00      2.1±0.02µs        ? ?/sec
empty_systems/003_systems                      1.01      2.6±0.06µs        ? ?/sec     1.00      2.6±0.26µs        ? ?/sec
empty_systems/004_systems                      1.01      3.0±0.08µs        ? ?/sec     1.00      3.0±0.10µs        ? ?/sec
empty_systems/005_systems                      1.02      3.5±0.06µs        ? ?/sec     1.00      3.4±0.08µs        ? ?/sec
empty_systems/010_systems                      1.09      6.0±0.14µs        ? ?/sec     1.00      5.5±0.10µs        ? ?/sec
empty_systems/015_systems                      1.11      8.5±0.36µs        ? ?/sec     1.00      7.6±0.85µs        ? ?/sec
empty_systems/020_systems                      1.07     10.6±0.31µs        ? ?/sec     1.00      9.9±0.23µs        ? ?/sec
empty_systems/025_systems                      1.06     13.0±0.22µs        ? ?/sec     1.00     12.3±0.50µs        ? ?/sec
empty_systems/030_systems                      1.09     16.0±0.63µs        ? ?/sec     1.00     14.6±0.39µs        ? ?/sec
empty_systems/035_systems                      1.06     18.2±0.39µs        ? ?/sec     1.00     17.1±0.42µs        ? ?/sec
empty_systems/040_systems                      1.07     20.6±0.56µs        ? ?/sec     1.00     19.3±0.35µs        ? ?/sec
empty_systems/045_systems                      1.07     23.0±0.59µs        ? ?/sec     1.00     21.5±0.55µs        ? ?/sec
empty_systems/050_systems                      1.06     25.2±0.47µs        ? ?/sec     1.00     23.7±0.66µs        ? ?/sec
empty_systems/055_systems                      1.08     27.6±0.66µs        ? ?/sec     1.00     25.5±0.50µs        ? ?/sec
empty_systems/060_systems                      1.04     29.4±0.65µs        ? ?/sec     1.00     28.3±1.59µs        ? ?/sec
empty_systems/065_systems                      1.07     31.9±0.75µs        ? ?/sec     1.00     29.9±0.86µs        ? ?/sec
empty_systems/070_systems                      1.10     34.7±1.64µs        ? ?/sec     1.00     31.5±1.20µs        ? ?/sec
empty_systems/075_systems                      1.09     37.1±1.83µs        ? ?/sec     1.00     34.1±0.63µs        ? ?/sec
empty_systems/080_systems                      1.08     39.1±1.18µs        ? ?/sec     1.00     36.3±0.88µs        ? ?/sec
empty_systems/085_systems                      1.04     41.3±1.22µs        ? ?/sec     1.00     39.8±3.03µs        ? ?/sec
empty_systems/090_systems                      1.08     43.5±1.09µs        ? ?/sec     1.00     40.4±0.93µs        ? ?/sec
empty_systems/095_systems                      1.07     45.9±1.36µs        ? ?/sec     1.00     43.1±1.05µs        ? ?/sec
empty_systems/100_systems                      1.04     47.9±0.89µs        ? ?/sec     1.00     46.1±1.81µs        ? ?/sec

I experimented with some stuff like looping inside the catch unwind and while it did see improvements in the benchmarks, when I ran many foxes it had a significant regression.

The real world regression is low enough that I will approve. Especially since this seems to fix some unsoundness.

Edit: didn't fix the unsoundness

@hymm
Copy link
Contributor

hymm commented Nov 15, 2022

probably should add fixes #6603 to the PR description

Edit: this didn't fix the linked issue

@james7132 james7132 removed the S-Needs-Benchmarking This set of changes needs performance benchmarking to double-check that they help label Nov 15, 2022
@james7132
Copy link
Member Author

The scheduling microbenchmarks are notoriously noisy. These results seem to be within the margin of error.

@james7132 james7132 added this to the 0.9.1 milestone Nov 15, 2022
@james7132 james7132 removed the P-Unsound A bug that results in undefined compiler behavior label Nov 20, 2022
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me, and the perf hit is 100% worth taking. We can experiment with optimizations later.

@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Nov 20, 2022
@alice-i-cecile
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Nov 21, 2022
# Objective
Fix #6453. 

## Solution
Use the solution mentioned in the issue by catching the unwind and dropping the error. Wrap the `executor.try_tick` calls with `std::catch::unwind`.

Ideally this would be moved outside of the hot loop, but the mut ref to the `spawned` future is not `UnwindSafe`.

This PR only addresses the bug, we can address the perf issues (should there be any) later.
@bors bors bot changed the title Fix panicking on another scope [Merged by Bors] - Fix panicking on another scope Nov 21, 2022
@bors bors bot closed this Nov 21, 2022
cart pushed a commit that referenced this pull request Nov 30, 2022
# Objective
Fix #6453. 

## Solution
Use the solution mentioned in the issue by catching the unwind and dropping the error. Wrap the `executor.try_tick` calls with `std::catch::unwind`.

Ideally this would be moved outside of the hot loop, but the mut ref to the `spawned` future is not `UnwindSafe`.

This PR only addresses the bug, we can address the perf issues (should there be any) later.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective
Fix bevyengine#6453. 

## Solution
Use the solution mentioned in the issue by catching the unwind and dropping the error. Wrap the `executor.try_tick` calls with `std::catch::unwind`.

Ideally this would be moved outside of the hot loop, but the mut ref to the `spawned` future is not `UnwindSafe`.

This PR only addresses the bug, we can address the perf issues (should there be any) later.
bors bot pushed a commit to bevyengine/bevy-website that referenced this pull request Mar 6, 2023
## How This Works

For the Bevy 0.10 release blog post (and for the first time ever), I'm publicly opening the doors to other people writing blog post sections. Specifically, if you worked on a feature in a substantial way and are interested in presenting it, you can now ask to claim a section by leaving a comment in this PR. If you claim a section, submit a pull request to the `release-0.10.0` branch in this repo. For the next week, we will be filling in sections (the release target is Saturday March 4th). Please don't claim a section if you don't plan on completing it within that timeline. Also don't claim a section if you weren't an active participant in the design and implementation of the change (unless you are a Maintainer or SME).

I will claim any unclaimed sections.

Try to match the style of previous release blog posts as much as possible.

1. Show, don't tell. Don't bombard people with information. Avoid large walls of text _and_ large walls of code. Prefer the pattern "byte sized description of one thing" -> "example code/picture/video contextualizing that one thing" -> repeat. Take readers on a journey step by simple step.
2. Don't use up reader's "mental bandwidth" without good reason. We can't afford page-long descriptions of minor bug fixes. If it isn't a "headliner change", keep the description short and sweet. If a change is self describing, let it do that (ex: We now support this new mesh shape primitive ... this is what it looks like). If it is a "headliner change", still try to keep it reasonable. We always have a lot to cover.
3. In slight competition with point (2), don't omit interesting technical information when it is truly fun and engaging. A good chunk of our users are highly technical and enjoy learning how the sausage is made. Try to strike a balance between "terse and simple" and "nerdy details".
4. When relevant, briefly describe the problem being solved first, then describe the solution we chose. This contextualizes the change and gives the feature value and purpose.
5. When possible, provide visuals. They create interest / keep people hooked / break up the monotony.
6. Record images and videos at the default bevy resolution (1280x720)
7. Provide an accurate listing of authors that meaningfully contributed to the feature. Try to sort in order of "contribution scale". This is hard to define, but try to be fair. When in doubt, ask other contributors, SMEs, and/or maintainers.
8. Provide numbers and graphs where possible.  If something is faster, use numbers to back it up. We don't (yet) have automated graph generation in blog post style, so send data / info to me (@cart) if you want a graph made.

## Headliners

Headliners are our "big ticket high importance / high profile" changes. They are listed briefly at the beginning of the blog post, their entries are roughly sorted "to the top", and they are given priority when it comes to "space in the blog post". If you think we missed something (or didn't prioritize something appropriately), let us know.

* ECS Schedule v3 (previously known as "stageless")  
* Partial Android Support
* Depth and Normal Prepass
* Environment Map Lighting
* Cascaded Shadow Maps
* Distance and Atmospheric Fog
* Smooth Skeletal Animation Transitions
* Enable Parallel Pipelined Rendering
* Windows as Entities
* Renderer Optimizations
* ECS Optimizations

## Sections

These are the sections we will cover in the blog post. If a section has been claimed, it will have `(claimed by X)` in the title. If it is unclaimed it will have `(unclaimed)` in the title. Let us know if we missed a section. We don't cover every feature, but we should cover pretty much everything that would be interesting to users. Note that what is interesting or challenging to implement is not necessarily something that is relevant to our blog post readers. And sometimes the reverse is true!

If you believe a section should be split up or reorganized, just bring it up here and we can discuss it.

### ~~Schedule V3 (claimed by @alice-i-cecile)~~

* [Migrate engine to Schedule v3][7267]
* [Add `bevy_ecs::schedule_v3` module][6587]
* [Stageless: fix unapplied systems][7446]
* [Stageless: move final apply outside of spawned executor][7445]
* Sets
* Base Sets
  * [Base Sets][7466]
* Reporting
  * [Report sets][7756]
  * [beter cycle reporting][7463]
* Run Conditions
  * [Add condition negation][7559]
  * [And/Or][7605]
  * [Add more common run conditions][7579]
* States
  * [States derive macro][7535]
* System Piping Flexibility
  * [Support piping exclusive systems][7023]
  * [Allow piping run conditions][7547]

### ~~Depth and Normal Prepass (claimed by @IceSentry)~~

* [Add depth and normal prepass][6284]
* [Move prepass functions to prepass_utils][7354]

### ~~Distance and Atmospheric Fog (claimed by @coreh)~~

* [Add Distance and Atmospheric Fog support][6412]

### ~~Cascaded Shadow Maps (claimed by @cart)~~

* [Cascaded shadow maps.][7064]
* [Better cascades config defaults + builder, tweak example configs][7456]

### ~~Environment Map Lighting (claimed by @cart)~~

* [EnvironmentMapLight, BRDF Improvements][7051]
* [Webgl2 support][7737]

### ~~Tonemapping options (claimed by @cart)~~

* [Initial tonemapping options][7594]

### ~~Android support + unification (claimed by @mockersf)~~

* [IOS, Android... same thing][7493]

### ~~Windows as Entities (claimed by @Aceeri)~~

* [Windows as Entities][5589]
* [break feedback loop when moving cursor][7298]
* [Fix `Window` feedback loop between the OS and Bevy][7517]

### ~~Enable Parallel Pipelined Rendering (claimed by @james7132)~~

* [Pipelined Rendering][6503]
* [Stageless: add a method to scope to always run a task on the scope thread][7415]
* [Separate Extract from Sub App Schedule][7046]

### ~~Smooth Skeletal Animation Transitions (claimed by @james7132)~~

* [Smooth Transition between Animations][6922]

### ~~Spatial Audio (claimed by @harudagondi)~~

* [Spatial Audio][6028]

### ~~Shader Processor Features (claimed by @cart)~~

* [Shader defs can now have a value][5900]
* [Shaders can now have #else ifdef chains][7431]
* [Define shader defs in shader][7518]

### ~~Shader Flexibility Improvements (claimed by @cart)~~

* [add ambient lighting hook][5428]
* [Refactor Globals and View structs into separate shaders][7512]

### ~~Renderer Optimizations (claimed by @james7132)~~

* [bevy_pbr: Avoid copying structs and using registers in shaders][7069]
* [Flatten render commands][6885]
* [Replace UUID based IDs with a atomic-counted ones][6988]
* [improve compile time by type-erasing wgpu structs][5950]
* [Shrink DrawFunctionId][6944]
* [Shrink ComputedVisibility][6305]
* [Reduce branching in TrackedRenderPass][7053]
* [Make PipelineCache internally mutable.][7205]
* [Improve `Color::hex` performance][6940]
* [Support recording multiple CommandBuffers in RenderContext][7248]
* [Parallelized transform propagation][4775]
* [Introduce detailed_trace macro, use in TrackedRenderPass][7639]
* [Optimize color computation in prepare_uinodes][7311]
* [Directly extract joints into SkinnedMeshJoints][6833]
* [Parallelize forward kinematics animation systems][6785]
* [Move system_commands spans into apply_buffers][6900]
* [Reduce the use of atomics in the render phase][7084]

### ~~ECS Optimizations (claimed by @james7132 )~~

* [Remove redundant table and sparse set component IDs from Archetype][4927]
* [Immutable sparse sets for metadata storage][4928]
* [Replace BlobVec's swap_scratch with a swap_nonoverlapping][4853]
* [Use T::Storage::STORAGE_TYPE to optimize out unused branches][6800]
* [Remove unnecessary branching from bundle insertion][6902]
* [Split Component Ticks][6547]
* [use bevy_utils::HashMap for better performance. TypeId is predefined …][7642]
* [Extend EntityLocation with TableId and TableRow][6681]
* [Basic adaptive batching for parallel quer- [Speed up `CommandQueue` by storing commands more densely][6391]y iteration][4777]

### ~~Reflect Improvements (claimed by @cart)~~

* [bevy_reflect: Add `ReflectFromReflect` (v2)][6245]
* [Add reflection support for VecDeque][6831]
* [reflect: add `insert` and `remove` methods to `List`][7063]
* [Add `remove` method to `Map` reflection trait.][6564]
* [bevy_reflect: Fix binary deserialization not working for unit structs][6722]
* [Add `TypeRegistrationDeserializer` and remove `BorrowedStr`][7094]
* [bevy_reflect: Add simple enum support to reflection paths][6560]
* [Enable deriving Reflect on structs with generic types][7364]
* [bevy_reflect: Support tuple reflection paths][7324]
* [bevy_reflect: Pre-parsed paths][7321]
* [bevy_ecs: ReflectComponentFns without World][7206]

### ~~AsBindGroup Improvements (claimed by @cart)~~

* [Support storage buffers in derive `AsBindGroup`][6129]
* [Support raw buffers in AsBindGroup][7701]

### ~~Cylinder Shape (claimed by @cart)~~

* [Add cylinder shape][6809]

### ~~Subdividable Plane Shape (claimed by @cart)~~

* [added subdivisions to shape::Plane][7546]

### ~~StandardMaterial Blend Modes (claimed by @coreh)~~

* [Standard Material Blend Modes][6644]

### ~~Configurable Visibility Component (claimed by @cart)~~

* [enum `Visibility` component][6320]

### Task Improvements (claimed by @cart)

* [Fix panicking on another scope][6524]
* [Add thread create/destroy callbacks to TaskPool][6561]
* [Thread executor for running tasks on specific threads.][7087]
* [await tasks to cancel][6696]
* [Stageless: move MainThreadExecutor to schedule_v3][7444]
* [Stageless: close the finish channel so executor doesn't deadlock][7448]

### ~~Upgrade to wgpu 0.15 (claimed by @cart)~~

* [Wgpu 0.15][7356]

### ~~Expose Bindless / Non-uniform Indexing Support (claimed by @cart)~~

* [Request WGPU Capabilities for Non-uniform Indexing][6995]

### ~~Cubic Spline (claimed by @aevyrie)~~

* [Bezier][7653]

### ~~Revamp Bloom (claimed by @JMS55)~~

* [Revamp bloom](bevyengine/bevy#6677)

### ~~Use Prepass Shaders for Shadows (claimed by @superdump)~~

* [use prepass shaders for shadows](bevyengine/bevy#7784)

### ~~AccessKit (claimed by @alice-i-cecile)~~

* [accesskit](bevyengine/bevy#6874)

### ~~Camera Output Modes (claimed by @cart)~~

* [camera output modes](bevyengine/bevy#7671)

### ~~SystemParam Improvements (claimed by @JoJoJet)~~

* [Make the `SystemParam` derive macro more flexible][6694]
* [Add a `SystemParam` primitive for deferred mutations; allow `#[derive]`ing more types of SystemParam][6817]

### ~~Gamepad Improvements (claimed by @cart)~~

* [Gamepad events refactor][6965]
* [add `Axis::devices` to get all the input devices][5400]

### ~~Input Methods (claimed by @cart)~~

* [add Input Method Editor support][7325]

### ~~Color Improvements (claimed by @cart)~~

* [Add LCH(ab) color space to `bevy_render::color::Color`][7483]
* [Add a more familiar hex color entry][7060]

### ~~Split Up CorePlugin (claimed by @cart)~~

* [Break `CorePlugin` into `TaskPoolPlugin`, `TypeRegistrationPlugin`, `FrameCountPlugin`.][7083]

### ~~ExtractComponent Derive (claimed by @cart)~~

* [Extract component derive][7399]

### ~~Added OpenGL and DX11 Backends By Default (claimed by @cart)~~

* [add OpenGL and DX11 backends][7481]

### ~~UnsafeWorldCell (claimed by @BoxyUwU)~~

* [Move all logic to `UnsafeWorldCell`][7381]
* [Rename `UnsafeWorldCellEntityRef` to `UnsafeEntityCell`][7568]

### ~~Entity Commands (claimed by @cart)~~

* [Add a trait for commands that run for a given `Entity`][7015]

* [Add an extension trait to `EntityCommands` to update hierarchy while preserving `GlobalTransform`][7024]
* [Add ReplaceChildren and ClearChildren EntityCommands][6035]

### ~~Iterate EntityRef (claimed by @james7132)~~

* [Allow iterating over with EntityRef over the entire World][6843]

### ~~Ref Queries (@JoJoJet)~~

* [Added Ref to allow immutable access with change detection][7097]

### ~~Taffy Upgrade (claimed by @cart)~~

* [Upgrade to Taffy 0.2][6743]

### ~~Relative Cursor Position (claimed by @cart)~~

* [Relative cursor position][7199]

### ~~Const UI Config (claimed by @cart)~~

* [Add const to methods and const defaults to bevy_ui][5542]

### ~~Examples (claimed by @cart)~~

* [Add pixelated Bevy to assets and an example][6408]
* [Organized scene_viewer into plugins for reuse and organization][6936]

### ~~CI Improvements (claimed by @cart)~~

* [add rust-version for MSRV and CI job to check][6852]
* [msrv: only send a message on failure during the actual msrv part][7532]
* [Make CI friendlier][7398]
* [Fix CI welcome message][7428]
* [add an action to ask for a migration guide when one is missing][7507]

### ~~SMEs (@cart)~~

This was already covered in another blog post. Just briefly call out what they are and that this is the first release that used them. Link to the other blog post.

* [Subject Matter Experts and new Bevy Org docs][7185]

[4775]: bevyengine/bevy#4775
[4777]: bevyengine/bevy#4777
[4853]: bevyengine/bevy#4853
[4927]: bevyengine/bevy#4927
[4928]: bevyengine/bevy#4928
[5400]: bevyengine/bevy#5400
[5428]: bevyengine/bevy#5428
[5542]: bevyengine/bevy#5542
[5589]: bevyengine/bevy#5589
[5900]: bevyengine/bevy#5900
[5950]: bevyengine/bevy#5950
[6028]: bevyengine/bevy#6028
[6035]: bevyengine/bevy#6035
[6129]: bevyengine/bevy#6129
[6179]: bevyengine/bevy#6179
[6245]: bevyengine/bevy#6245
[6284]: bevyengine/bevy#6284
[6305]: bevyengine/bevy#6305
[6320]: bevyengine/bevy#6320
[6391]: bevyengine/bevy#6391
[6408]: bevyengine/bevy#6408
[6412]: bevyengine/bevy#6412
[6503]: bevyengine/bevy#6503
[6524]: bevyengine/bevy#6524
[6547]: bevyengine/bevy#6547
[6557]: bevyengine/bevy#6557
[6560]: bevyengine/bevy#6560
[6561]: bevyengine/bevy#6561
[6564]: bevyengine/bevy#6564
[6587]: bevyengine/bevy#6587
[6644]: bevyengine/bevy#6644
[6649]: bevyengine/bevy#6649
[6681]: bevyengine/bevy#6681
[6694]: bevyengine/bevy#6694
[6696]: bevyengine/bevy#6696
[6722]: bevyengine/bevy#6722
[6743]: bevyengine/bevy#6743
[6785]: bevyengine/bevy#6785
[6800]: bevyengine/bevy#6800
[6802]: bevyengine/bevy#6802
[6809]: bevyengine/bevy#6809
[6817]: bevyengine/bevy#6817
[6831]: bevyengine/bevy#6831
[6833]: bevyengine/bevy#6833
[6843]: bevyengine/bevy#6843
[6852]: bevyengine/bevy#6852
[6885]: bevyengine/bevy#6885
[6900]: bevyengine/bevy#6900
[6902]: bevyengine/bevy#6902
[6922]: bevyengine/bevy#6922
[6926]: bevyengine/bevy#6926
[6936]: bevyengine/bevy#6936
[6940]: bevyengine/bevy#6940
[6944]: bevyengine/bevy#6944
[6965]: bevyengine/bevy#6965
[6988]: bevyengine/bevy#6988
[6995]: bevyengine/bevy#6995
[7015]: bevyengine/bevy#7015
[7023]: bevyengine/bevy#7023
[7024]: bevyengine/bevy#7024
[7046]: bevyengine/bevy#7046
[7051]: bevyengine/bevy#7051
[7053]: bevyengine/bevy#7053
[7060]: bevyengine/bevy#7060
[7063]: bevyengine/bevy#7063
[7064]: bevyengine/bevy#7064
[7069]: bevyengine/bevy#7069
[7083]: bevyengine/bevy#7083
[7084]: bevyengine/bevy#7084
[7087]: bevyengine/bevy#7087
[7094]: bevyengine/bevy#7094
[7097]: bevyengine/bevy#7097
[7185]: bevyengine/bevy#7185
[7199]: bevyengine/bevy#7199
[7205]: bevyengine/bevy#7205
[7206]: bevyengine/bevy#7206
[7248]: bevyengine/bevy#7248
[7267]: bevyengine/bevy#7267
[7298]: bevyengine/bevy#7298
[7311]: bevyengine/bevy#7311
[7321]: bevyengine/bevy#7321
[7324]: bevyengine/bevy#7324
[7325]: bevyengine/bevy#7325
[7354]: bevyengine/bevy#7354
[7356]: bevyengine/bevy#7356
[7364]: bevyengine/bevy#7364
[7381]: bevyengine/bevy#7381
[7398]: bevyengine/bevy#7398
[7399]: bevyengine/bevy#7399
[7415]: bevyengine/bevy#7415
[7428]: bevyengine/bevy#7428
[7431]: bevyengine/bevy#7431
[7444]: bevyengine/bevy#7444
[7445]: bevyengine/bevy#7445
[7446]: bevyengine/bevy#7446
[7448]: bevyengine/bevy#7448
[7456]: bevyengine/bevy#7456
[7463]: bevyengine/bevy#7463
[7466]: bevyengine/bevy#7466
[7481]: bevyengine/bevy#7481
[7483]: bevyengine/bevy#7483
[7493]: bevyengine/bevy#7493
[7507]: bevyengine/bevy#7507
[7510]: bevyengine/bevy#7510
[7512]: bevyengine/bevy#7512
[7517]: bevyengine/bevy#7517
[7518]: bevyengine/bevy#7518
[7532]: bevyengine/bevy#7532
[7535]: bevyengine/bevy#7535
[7546]: bevyengine/bevy#7546
[7547]: bevyengine/bevy#7547
[7559]: bevyengine/bevy#7559
[7568]: bevyengine/bevy#7568
[7579]: bevyengine/bevy#7579
[7594]: bevyengine/bevy#7594
[7605]: bevyengine/bevy#7605
[7639]: bevyengine/bevy#7639
[7642]: bevyengine/bevy#7642
[7653]: bevyengine/bevy#7653
[7701]: bevyengine/bevy#7701
[7737]: bevyengine/bevy#7737
[7756]: bevyengine/bevy#7756


Co-authored-by: François <mockersf@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Mike <mike.hsu@gmail.com>
Co-authored-by: Boxy <supbscripter@gmail.com>
Co-authored-by: IceSentry <c.giguere42@gmail.com>
Co-authored-by: JoJoJet <21144246+JoJoJet@users.noreply.github.com>
Co-authored-by: Aevyrie <aevyrie@gmail.com>
Co-authored-by: James Liu <contact@jamessliu.com>
Co-authored-by: Marco Buono <thecoreh@gmail.com>
Co-authored-by: Aceeri <conmcclusk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Tasks Tools for parallel and async work C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panics in one task pool scope can panic a separate scope
4 participants