Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.5.0b1
Issue ID
826474
Regression
Yes
KeyNotFoundException on adding prefab to the scene
Reproduces on both Mac and Windows
On adding new created prefab to the scene we get:
"KeyNotFoundException: The given key was not present in the dictionary."
1 Create new project
2 Create Cube and drag it to Project view to create prefab.
3 Delete the Cube object from the Hierarchy.
4 Drag the Cube prefab from the project view to the scene view.
(please see attached video)
Actual result: Exception appears in the Console:
"KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[UnityEngine.Object,UnityEditor.EditorWrapper].get_Item (UnityEngine.Object key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:151) ... "
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
Add comment