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

Only print physics sync warning on dev builds to avoid warning spam from using move_and_slide #94279

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

clayjohn
Copy link
Member

Works around for the 4.3 release #94205

The check should be restored once we implement move_and_slide in a way that doesn't sync the physics thread

We can't do a full solution to #94205 for 4.3 since it will require big changes to move_and_slide(). This PR hides the warning from users for now so we can fix move_and_slide() and then re-enable the warning in 4.4 (ideally).

This PR only impacts the physics server, the rendering server continues to have the check enabled.

…rom using move_and_slide

The check should be restored once we implement move_and_slide in a way that doesn't sync the physics thread
Copy link
Member

@rburing rburing left a comment

Choose a reason for hiding this comment

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

Since a proper fix won't arrive in time for 4.3, I agree this is the way to go in the meantime (and the issue stays open).

@akien-mga akien-mga changed the title Only print physics sync warning on dev builds to avoid warning spam from using move_and_slide Only print physics sync warning on dev builds to avoid warning spam from using move_and_slide Jul 17, 2024
@akien-mga akien-mga merged commit 82b5720 into godotengine:master Jul 17, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@clayjohn clayjohn deleted the physics-sync-warn branch July 17, 2024 15:29
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.

3 participants