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
- "The FrameSetting required to render this effect in the Game view depends on a disabled FrameSetting." warning appears when post-processing effects ere enabled in pipeline settings
- Crash on RaiseException when calling maxmath.comb() with the debugger disabled
- Crash on __pthread_kill when entering Play mode
- Crash on tlsf_free when exiting Play Mode in a specific project
- Camera Solid Color is overwritten when injecting Custom Render Pass at 'RenderPassEvent.AfterRenderingPrePasses + 1'
Add comment