Skip to content

Select the parent object (prefab) by defaut when we open a prefab #19010

@BenoitFreslon

Description

@BenoitFreslon

Use Case

Most of the time, when opening a prefab, my goal is to modify properties or scripts that are attached to the root node of that prefab (e.g. the main script controlling its behavior).
Currently, every time I open a prefab in Prefab Edit Mode, no node is selected, so I need to manually click on the root node before making changes. This repetitive step slows down iteration during development.

Image

Problem Description

When a prefab is opened in Prefab Edit Mode, no node is selected by default.
Since the majority of modifications involve the prefab’s root node (where the main script or configuration is often attached), having to manually select it every time becomes inefficient and introduces unnecessary clicks.

Proposed Solution

This makes the wWhen a prefab is opened in Prefab Edit Mode, automatically select the root node of the prefab by default.

This would immediately expose the inspector with the root’s components (often the most relevant).

Developers can still manually change the selection if they need to focus on a child node.

The feature could even be made optional (toggle in Preferences) for flexibility.orkflow slower and adds unnecessary clicks.

How it works

No response

Alternatives Considered

Keep the current behavior: Always open prefabs with no node selected. This is functional but inefficient, since the first action is almost always to select the root node.

User preference / toggle: Allow developers to choose in Preferences whether the editor should auto-select the root node, remember the last selected node, or keep the current “no selection” behavior.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions