Search Issue Tracker

In Progress

Fix In Review for 2022.3.X

Fixed in 6000.0.5f1

Votes

0

Found in

2022.3.28f1

6000.0.1f1

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.