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.
Comments (1)
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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
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.