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

[IO] Fix marshall decoding when script is NIL #90335

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Apr 7, 2024

We changed how scripts are binary serialized, and added a check to ensure the new format is enforced, but there is still a case where the old format (plain "prop"-"value" combo) is used, and that is when the script is NIL.

Fixes #90220

We changed how scripts are binary serialized, and added a check to
ensure the new format is enforced, but there is still a case where the
old format (plain "prop"-"value" combo) is used, and that is when the
script is NIL.
@Faless Faless added this to the 4.3 milestone Apr 7, 2024
@Faless Faless requested a review from a team as a code owner April 7, 2024 08:45
@Faless
Copy link
Collaborator Author

Faless commented Apr 7, 2024

We might want to create a test case for this.

@akien-mga akien-mga requested a review from dalexeev April 7, 2024 09:27
@akien-mga akien-mga merged commit 9738cc7 into godotengine:master Apr 8, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@Faless Faless deleted the io/marshall_nil_script branch April 8, 2024 11:12
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.

After exporting the Inputs aren't recognized
3 participants