Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.0b7
Issue ID
773837
Regression
No
Unity hangs and crashes on debugging project with KeyNotFoundException: The given key was not present in the dictionary error
To repro:
1. Open project attached.
2. Open any scene and Open RestartGame script.
3. Add breakpoint on Press function.
4. Attach to Unity process.
5. Run Unity. Press Play.
6. Go to Monodevelop. Skip this method.
7. Press Pause execution.
8. Add comment into method and save script.
9. Go to Unity and trigger breakpoints again.
10. Detach Monodevelop ant return to Unity.
Actual result: You'll get errors in Editor. After some time Unity crashes.
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[GameManager+GameStates,System.Action].get_Item (GameStates key) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
GameManager.Update () (at Assets/MonoPong/Script/GameManager.cs:97)
Reproduces in 5.3.30f1, 5.4.0b7.
Same problem happens with similar scenario in VS2015.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
qedinudix
May 16, 2020 09:02
Unity hangs on the project of debugging and all projects for a similar plot. Each of the debugging element of the side and http://www.topratedessayservice.com/bestessays-com-review/ is accessed for the reforms for the citizens. This trance is filed for the approval of the debugging slot and agency or the approval of the fixed report for all citizens and margins for individuals.