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

Portals - Fix gameplay monitor ticking #57186

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

lawnjelly
Copy link
Member

Due to an optimization to prevent processing except when camera rooms changed, the ticking synchronization and updating of previous and current lists could get out of sync for affected objects, leading to missing gameplay notifications.

This PR adds new paths to properly support and synchronize objects in this "room based" path.

Fixes #56494
(multiple issues mentioned, but this fixes #56494 (comment) )

@lawnjelly lawnjelly requested a review from a team as a code owner January 25, 2022 09:54
@lawnjelly lawnjelly changed the title Portals - Fix gameplay monitor ticking [WIP] Portals - Fix gameplay monitor ticking Jan 25, 2022
Due to an optimization to prevent processing except when camera rooms changed, the ticking synchronization and updating of previous and current lists could get out of sync for affected objects, leading to missing gameplay notifications.

This PR adds new paths to properly support and synchronize objects in this "room based" path.
@lawnjelly lawnjelly changed the title [WIP] Portals - Fix gameplay monitor ticking Portals - Fix gameplay monitor ticking Jan 25, 2022
@akien-mga akien-mga added this to the 3.5 milestone Jan 25, 2022
@akien-mga akien-mga merged commit d62166f into godotengine:3.x Jan 25, 2022
@akien-mga
Copy link
Member

Thanks!

@lawnjelly lawnjelly deleted the gameplay_fix_ticks branch January 25, 2022 10:46
@akien-mga
Copy link
Member

Cherry-picked for 3.4.3.

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

Successfully merging this pull request may close these issues.

2 participants