How to reproduce:
- Open the attached “IN-152221” project
- Open the “SampleScene” scene
- Open the “Git Bash” CLI
- In the opened “Git Bash” console, type “cd <path to the project folder>” and press “Enter” key
- Type “git init && git add -A && git commit -m baseline” and press “Enter” key
- In the Hierarchy tab, select “Some prefab” GameObject
- In the Inspector tab under “Animator Event 2 (Script)”, expand “Events”
- Under the “Events”, select 3rd element (“VFX/Sprint/ON”)
- Go to the bottom of the “Events” elements and click “-” (delete) button
- In the Inspector tab, right-click on the “Animator Event 2 (Script)” > “Modified Component” > “Apply to Prefab ‘Some prefab’”
- Save the changes (Ctrl + S)
- In the “Git Bash” console, type “git diff – "Assets/Some prefab.prefab"“ and press “Enter” key
- Observe the result in the “Git Bash” console
Actual result: The “Override/YLW/Hammer” element, which was not edited, has parameter values replaced with values belonging to other elements in the array
Expected result: The selected element is removed, with every other array element unchanged
Reproducible with: 6000.0.1f1, 6000.0.82f1, 6000.3.23f1, 6000.5.0a3
Not reproducible with: 6000.5.11f1, 6000.6.0f1, 6000.7.0a6
Fixed in: 6000.5.0a4
Reproducible on: Windows 11 Enterprise (25H2)
Not reproducible on: No other environments tested
Note: The bug reproduces when any element of the “Events” array is deleted (not just “VFX/Sprint/ON”)