Search Issue Tracker
Fixed in 2022.3.36f1
Fixed in 2022.3.X, 6000.0.X, 7000.0.0a13, future release
Votes
0
Found in
2022.3.28f1
6000.0.1f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-71887
Regression
No
“The serialized array of [SerializeReference] objects is missing entry for Refid -2” error is thrown when saving a prefab with SerializeReference overrides and ShowOverrides is enabled
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Open the “GameOject” prefab in context mode (click the Arrow to the right of the prefab instance)
4. Enable the Show Overrides toggle in the Prefab bar
5. Change the value to 6 in the Inspector window
6. Save the prefab (Ctrl/Cmd + S)
7. Observe the Console window
Expected result: No error is thrown
Actual result: “The serialized array of [SerializeReference] objects is missing entry for Refid -2” error is thrown
Reproducible with: 2022.3.28f1, 6000.0.1f1
Couldn't test with: 2021.3.38f1 (editor crashed when opening a prefab in context mode)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- Not reproducible when Show Overrides is disabled
- Reproducible when enabling and disabling Show Overrides
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment