Skip to content

Conversation

@ItsDoot
Copy link
Contributor

@ItsDoot ItsDoot commented Dec 24, 2025

Objective

Solution

Replace HashSet usage with IndexSet in DagGroups to maintain insertion order like the previous Vec implementation.

Testing

Used the provided example in the bug report. Should we add it as a test or example somewhere?

@ItsDoot ItsDoot added C-Bug An unexpected or incorrect behavior A-ECS Entities, components, systems, and events P-Regression Functionality that used to work but no longer does. Add a test for this! S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Dec 24, 2025
@ItsDoot ItsDoot added this to the 0.18 milestone Dec 24, 2025
@mockersf
Copy link
Member

Used the provided example in the bug report. Should we add it as a test or example somewhere?

It wouldn't really be useful for users as an example, and we should avoid adding test examples as it has a negative impact on contributors.

Could we add a unit test on schedule ordering?

Copy link
Contributor

@IceSentry IceSentry left a comment

Choose a reason for hiding this comment

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

I can confirm it fixes the linked issue

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Dec 29, 2025
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Dec 30, 2025
@alice-i-cecile alice-i-cecile changed the title Fix Updated images occasionally never displayed on materials Fix Updated images occasionally never displayed on materials by ensuring correct ordering of system sets Dec 30, 2025
Merged via the queue into bevyengine:main with commit b2870c1 Dec 30, 2025
47 checks passed
mockersf pushed a commit that referenced this pull request Dec 30, 2025
# Objective

- Fixes #22212

## Solution

Replace `HashSet` usage with `IndexSet` in `DagGroups` to maintain
insertion order like the previous `Vec` implementation.

## Testing

Used the provided example in the bug report. Should we add it as a test
or example somewhere?
mockersf pushed a commit that referenced this pull request Dec 30, 2025
# Objective

- Fixes #22212

## Solution

Replace `HashSet` usage with `IndexSet` in `DagGroups` to maintain
insertion order like the previous `Vec` implementation.

## Testing

Used the provided example in the bug report. Should we add it as a test
or example somewhere?
mockersf pushed a commit that referenced this pull request Dec 30, 2025
# Objective

- Fixes #22212

## Solution

Replace `HashSet` usage with `IndexSet` in `DagGroups` to maintain
insertion order like the previous `Vec` implementation.

## Testing

Used the provided example in the bug report. Should we add it as a test
or example somewhere?
mockersf pushed a commit that referenced this pull request Dec 30, 2025
# Objective

- Fixes #22212

## Solution

Replace `HashSet` usage with `IndexSet` in `DagGroups` to maintain
insertion order like the previous `Vec` implementation.

## Testing

Used the provided example in the bug report. Should we add it as a test
or example somewhere?
@ItsDoot ItsDoot deleted the fix/scheduling branch January 2, 2026 00:04
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-Bug An unexpected or incorrect behavior P-Regression Functionality that used to work but no longer does. Add a test for this! 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.

0.18 Regression: Updated images occasionally never displayed on materials

4 participants