Steps to reproduce:
- Create a new Unity project
- In the Hierarchy window, click the “+” button on the left-hand side
- Select “Create Empty Child” from the dropdown
Actual results: A new empty GameObject is created at the root level of the Hierarchy, even though the option implies it will be a child. There was no parent GameObject selected at the time
Expected results: The “Create Empty Child” option should be disabled or greyed out when no parent GameObject is selected
Reproducible with versions: 2022.3.61f1, 6000.0.47f1, 6000.1.0f1, 6000.2.0a9
Tested on (OS): macOS 15.5 (Silicon M4)
Notes:
- This can be confusing for users because both “Create Empty” and “Create Empty Child” are enabled in the menu, but when no GameObject is selected, they perform the same action (creating a root object)
- Users may expect “Create Empty Child” to either produce a different result or be unavailable in that context
- Make sure documentation says that Create Empty Child is only meant for when a parent is selected