Skip to content

Ensure more explicit system ordering for preparing view target.#15000

Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom
tychedelia:14993-fix-view-target-system-ordering
Aug 31, 2024
Merged

Ensure more explicit system ordering for preparing view target.#15000
alice-i-cecile merged 2 commits intobevyengine:mainfrom
tychedelia:14993-fix-view-target-system-ordering

Conversation

@tychedelia
Copy link
Copy Markdown
Member

Fixes #14993 (maybe). Adds a system ordering constraint that was missed in the refactor in #14833. The theory here is that the single threaded forces a topology that causes the prepare system to run before prepare_windows in a way that causes issues. For whatever reason, this appears to be unlikely when multi-threading is enabled.

@tychedelia tychedelia added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen S-Needs-Investigation This issue requires detective work to figure out what's going wrong P-Regression Functionality that used to work but no longer does. Add a test for this! labels Aug 31, 2024
@alice-i-cecile
Copy link
Copy Markdown
Member

This is a plausible fix: the referenced behavior matches that of system order ambiguities, only appearing on some runs.

@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-Investigation This issue requires detective work to figure out what's going wrong labels Aug 31, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Aug 31, 2024
Merged via the queue into bevyengine:main with commit f0560b8 Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen 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.

Regression: Disabling multi_threaded feature causes broken rendering

2 participants