diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index a14c6e84623..d2c089cbeac 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -2806,6 +2806,9 @@ void EditorInspector::update_tree() { subgroup_base = ""; section_depth = 0; + vbox_per_path.clear(); + editor_inspector_array_per_prefix.clear(); + if (!show_categories) { continue; }