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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment