Steps to reproduce:
- Open the attached “IN-151440” project
- Open the scene "Assets/Scenes/SampleScene.unity"
- In the Hierarchy window select the "Test object (1)" and "Test object (2)" GameObjects at the same time
- In the inspector window, On “My Component” Component click the button "Add element at start" (the first button)
- Observe the Console window
Actual result: The console shows the logs "Array size before: 2" and "Array size after: 2"
Expected result: The console should show the logs "Array size before: 2" and "Array size after: 3"
Reproducible with: 6000.0.0f1, 6000.0.84f1, 6000.3.25f1, 6000.6.3f1, 6000.7.0b2, 7000.0.0a1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: Pressing the button "Add element at end" produces the expected result, as well as pressing the button "Add element at start" when there's only one scene object selected