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

Fix potential crash due to invalid navigation mesh ref #93423

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Jun 21, 2024

Fixes potential crash due to invalid navigation mesh ref, e.g. due to NavigationPolygon call unref() internally .

Previously to PR #93392 the warning was part of the sync function which had an early check for that that is now missing.

Fixes potential crash due to invalid navigation mesh ref, e.g. due to NavigationPolygon call unref() internally while the resource is still in the update queue of the server.
@akien-mga akien-mga merged commit 2bb4d5d into godotengine:master Jun 21, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@smix8 smix8 deleted the ref_that branch June 22, 2024 02:48
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