Skip to content

Fix broken EditorPropertyArray type changing and removal on Remote Inspector - #124870

Open
AegisTTN wants to merge 1 commit into
godotengine:masterfrom
AegisTTN:fix-remote-array-crash
Open

AegisTTN wants to merge 1 commit into
godotengine:masterfrom
AegisTTN:fix-remote-array-crash

Conversation

@AegisTTN

Copy link
Copy Markdown
Contributor

What problem(s) does this PR solve?

Additional information

Implement the same fix as #116843 but for Array.
Fixes the reported crash and also the ability to edit the type as before it would give an error ("Tried to change type of an array item, but no item was selected.")

@AegisTTN
AegisTTN requested a review from a team as a code owner October 25, 2026 19:36
@AegisTTN

Copy link
Copy Markdown
Contributor Author

Also for the check below, is there any reason that it is after the code for removal or can it be pushed fowards so that crashes of this kind don't happen?

ERR_FAIL_COND_MSG(
			changing_type_index == EditorPropertyArrayObject::NOT_CHANGING_TYPE,
			"Tried to change type of an array item, but no item was selected.");

@AegisTTN AegisTTN changed the title Fix broken EditorPropertyArray type changing and removal on remote tree Fix broken EditorPropertyArray type changing and removal on Remote Inspector Oct 25, 2026
@YeldhamDev YeldhamDev added this to the 4.8 milestone Oct 26, 2026
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.

Remote Inspector crashes when removing an Array element inside a Dictionary after menu refresh

2 participants