How to Reproduce:
1. Open the attached “IN-147067” project
2. Open “SampleScene”
3. Go to Edit → Preferences → General
4. Under “Hierarchy window”, check the “Use new Hierarchy window” checkbox
5. Expand the “Test Parent” GameObject so that it makes “Test Child” GameObject visible in the Hierarchy
6. Maximize the Game view
7. Restore the Game View to previous size
8. Observe the Hierarchy
Actual Result: “Test Parent” GameObject is collapsed
Expected Result: “Test Parent” GameObject remains expanded
Reproducible with: 6000.3.0a2, 6000.3.19f1, 6000.5.3f1, 6000.6.0b2, 6000.7.0a2
Could not test with: 6000.0.0f1, 6000.0.78f1, 6000.3.0a1 (“Use new Hierarchy window” option is not available)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- From the Unity versions mentioned above, version 6000.7.0a1 and 6000.6.0b2 comes with the new Hierarchy by default and under Preferences → General, there is no option to switch them to older version.
- Not only maximizing the Game view but maximizing any window except Hierarchy window reproduces this issue (Scene window, Project window, Console window and Inspector window are tested).