Skip to content

Conversation

PatIndermuehle
Copy link

This pull-request fixes #101979

It transforms resources in arrays to resource paths before sending them through the debugger.
At the game instance the resources are then loaded again by using the resource path.

This is how Godot currently handles updating single resources in the inspector.

the typed_builtin, typed_class_name and typed_script have to be sent or else exposed arrays of custom-GDScript-resource-sub-types will not update correctly.

res_indexes_array is there so that the solution also works with arrays of Variant/Object, since those can contain Resources too.
Arrays of Variant/Object also have the same bug with resources not being updated correctly.

@PatIndermuehle PatIndermuehle requested a review from a team as a code owner October 9, 2025 10:52
@AThousandShips AThousandShips added bug topic:editor cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release labels Oct 9, 2025
@AThousandShips AThousandShips added this to the 4.6 milestone Oct 9, 2025
@PatIndermuehle
Copy link
Author

Fixed some issues with variable shadowing and the -Wlogical-not-parentheses issue

@PatIndermuehle
Copy link
Author

The GHA Windows Teomplate build was canceled.
How do I fix this so it will run?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release topic:editor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editing an exported array of type Resource, will not update in a running debug instance.

2 participants