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 editor crash when invalid global class script path #93575

Conversation

Hilderin
Copy link
Contributor

Fixes #93410

Even I was not able to reproduce the problem of editor crashing on opening a script in an external editor, this PR should prevent the editor crash when the global_script_class_cache.cfg contains an invalid path.

The PR #92303 should also fix this problem because it removes the invalid global class name at startup but I think adding this validation was an easy fix that could prevent other crashes.

The problem:
image

@Hilderin Hilderin force-pushed the fix-editor-crash-on-invalid-global-class-path branch from ce69690 to e18db6f Compare June 25, 2024 12:13
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Makes sense to me.

Copy link
Member

@aaronfranke aaronfranke left a comment

Choose a reason for hiding this comment

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

Makes sense to me (ah, Akien already said that, so that's a jinx).

@akien-mga akien-mga merged commit 97e4ed4 into godotengine:master Jun 26, 2024
16 checks passed
@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.

Opening a script in external editor(cursor/vscode) crashes
4 participants