### Godot version

Godot 4 beta 12

### System information

Windows 10

### Issue description

![tttttt](https://user-images.githubusercontent.com/43501741/212407759-2e3cfa93-c9c1-4224-a118-2d236b0c5318.png)


### Steps to reproduce

Run a project in Godot 4 beta 12

### Minimal reproduction project

N/A
if (p_object && _is_class_editor_disabled_by_feature_profile(p_object->get_class())) {
		return;
	}
	Vector<EditorPlugin *> top_plugins = editor_plugins_over->get_plugins_list();
	Vector<EditorPlugin *> item_plugins;
	if (p_object) {
		item_plugins = editor_data.get_subeditors(p_object);
	}
	if (!item_plugins.is_empty()) {
		bool same = true;
		if (item_plugins.size() == top_plugins.size()) {
			for (int i = 0; i < item_plugins.size(); i++) {
				if (item_plugins[i] != top_plugins[i]) {
					same = false;
				}
			}
		} else {
			same = false;
		}
		if (!same) {
			_display_top_editors(false);
			_set_top_editors(item_plugins);
		}
		_set_editing_top_editors(p_object);
		_display_top_editors(true);
	} else if (!top_plugins.is_empty()) {
		hide_top_editors();
	}
}
void EditorNode::edit_item_resource(Ref<Resource> p_resource) {