Search Issue Tracker

By Design

Votes

1

Found in

5.4.1f1

Issue ID

854480

Regression

No

[Hierarchy]Context(right-click) menu commands in the hierarchy window have no return names when activated

Scene Hierarchy

-

This results in being unable to write editor commands corresponding to activating those actions through context menu

Steps to reproduce:
1. Download and open the attached project
2. Right-Click-->Duplicate on any GameObject in the hierarchy view
3. Observe no console log
4. Select any GameObject
5. Press CTRL+D on the keyboard
6. Log is outputted

Expected result:
Log:
1. ExecuteCommand ExecuteCommand
2. Copy was made... (GameObject name) (UnityEngine.GameObject)
Actual result:
1. Copy was made... (GameObject name) (UnityEngine.GameObject)

Reproduced on 5.2.3f1. 5.3.7p2, 5.4.1f1, 5.4.3p1, 5.5.0f1, 5.6.0a3

Notes:
-In the project there is an editor script that outputs a debug log if an appropriate command is executed
-Paste and delete also do not work
-Keyboard shortcuts work normally, output logs in this environment as they should
-Currently "Duplicate" is set up to output a separate log from other commands, but commenting it results in CTRL+D outputting "ExecuteCommand ExecuteCommand"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.