Search Issue Tracker
Fixed
Fixed in 6000.0.63f1, 6000.2.13f1, 6000.3.0b11, 6000.4.0a5, 6000.5.0a2
Votes
0
Found in
6000.0.60f1
6000.2.8f1
6000.3.0b7
6000.4.0a3
6000.5.0a1
Issue ID
UUM-122778
Regression
No
Serialized UnityEvent data is lost when array elements are reordered and applied to prefab via "Modified Component" menu
Reproduction steps:
1. Open the attached “IN-121561.zip” project
2. Open the “ReproScene” scene
3. From the Hierarchy, select the “Prefab” GameObject
4. In the Inspector, expand the “Data” property and its elements
5. Reorder the elements by dragging either one of them to a different position
6. Right-click (or click three dots) on the “Component (Script)”
7. Select “Modified Component” > “Apply to Prefab ‘Prefab’”
8. Observe the elements under “Data”
Expected result: UnityEvent values are retained, and the prefab is saved with the new values
Actual result: UnityEvent values are reset to null and saved as such in the prefab
Reproducible with: 2023.1.0b1, 6000.0.60f1, 6000.2.8f1, 6000.3.0b7, 6000.4.0a3
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note:
- The issue does not occur when applying overrides from the Overrides dropdown
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
- Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes
Resolution Note (fix version 6000.5.0a2):
Fixed applying SerializeReference root property overrides from prefab instances to prefab assets when the managed object already exists in the asset.
Resolution Note (fix version 6000.4.0a5):
Fixed applying SerializeReference root property overrides from prefab instances to prefab assets when the managed object already exists in the asset.
Resolution Note (fix version 6000.3.0b11):
Fixed applying SerializeReference root property overrides from prefab instances to prefab assets when the managed object already exists in the asset.
Resolution Note (fix version 6000.2.13f1):
Fixed applying SerializeReference root property overrides from prefab instances to prefab assets when the managed object already exists in the asset.
Resolution Note (fix version 6000.0.63f1):
Fixed applying SerializeReference root property overrides from prefab instances to prefab assets when the managed object already exists in the asset.