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

Add navigation baking crash prevention mechanism #89692

Merged
1 commit merged into from
Mar 24, 2024

Conversation

Scony
Copy link
Contributor

@Scony Scony commented Mar 19, 2024

This PR adds a mechanism (enabled by default) that interrupts navigation mesh baking if it's very likely to fail or crash the engine.

This mechanism can be disabled in the project settings.

Rationale:

The current problem is as follows - if the navmesh baking is likely to fail or crash the engine, the warning is being printed. In case of engine crash, this is of very little help as the developer probably won't see it anyway. It leads to numerous issues like #87267 being reported.

See https://chat.godotengine.org/channel/navigation?msg=ZkocD7ZRbaDgTRCoB

@Scony Scony requested review from a team as code owners March 19, 2024 22:30
@Mickeon Mickeon added this to the 4.x milestone Mar 20, 2024
@akien-mga akien-mga modified the milestones: 4.x, 4.3 Mar 23, 2024
@akien-mga akien-mga closed this pull request by merging all changes into godotengine:master in 06abc86 Mar 24, 2024
akien-mga added a commit that referenced this pull request Mar 24, 2024
Add navigation baking crash prevention mechanism
@akien-mga
Copy link
Member

Thanks!

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.

5 participants