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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Add comment