Skip to content

683 fix context swapping failing in non postupdate schedule#684

Open
AnthonyTornetta wants to merge 4 commits intodimforge:masterfrom
AnthonyTornetta:683-fix-context-swapping-failing-in-non-postupdate-schedule
Open

683 fix context swapping failing in non postupdate schedule#684
AnthonyTornetta wants to merge 4 commits intodimforge:masterfrom
AnthonyTornetta:683-fix-context-swapping-failing-in-non-postupdate-schedule

Conversation

@AnthonyTornetta
Copy link
Contributor

@AnthonyTornetta AnthonyTornetta commented Jan 10, 2026

The components added during a context changed were being immediately removed by the second run of sync_removals in PostUpdate. That PostUpdate call needs to happen for events to be captured properly, so I added some checks to make sure we should actually remove the entity from the simulation.

@ThierryBerger lmk if you have any suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant