Note that this exists in hierarchy v2 as well
Steps to reproduce:
- Open any Project and a Scene with 1 Game Object
- In the Hierarchy select the Scene and the 1 Game Object
- Right click the Game Object and select "Move to View"
Actual results: Error "transform.position assign attempt for 'Main Camera' is not valid. Input position is { -Infinity, -Infinity, -Infinity }.
UnityEditor.GenericMenu:CatchMenu (object,string[],int)" is logged
Expected results: Move to View Context option is not available when a Scene or Subscene is selected
Reproducible with versions: 6000.0.0f1, 6000.0.77f1, 6000.3.18f1, 6000.4.12f1, 6000.5.0f1, 6000.6.0a7
Tested on (OS): Windows 11