- Home /
unity engine wont work
when i try to press play, i cant do anything and i get these errors even when i start a new project with nothing in it,these are the three errors that i get when i click play. thank you
1) InvalidOperationException: Collection was modified; enumeration operation may not execute. System.Collections.Generic.List`1+Enumerator[UnityEditor.EditorWindow].VerifyState () System.Collections.Generic.List`1+Enumerator[UnityEditor.EditorWindow].MoveNext () UnityEditor.DockArea.OnDestroy () (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/GUI/DockArea.cs:409) UnityEditor.EditorApplicationLayout:FinalizePlaymodeLayout()
2) Invalid editor window UnityEditor.OcclusionCullingWindow UnityEditor.EditorApplicationLayout:FinalizePlaymodeLayout() C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/GUI/DockArea.cs:409) UnityEditor.EditorApplicationLayout:FinalizePlaymodeLayout()
3) GUI Window tries to begin rendering while something else has not finished rendering! Either you have a recursive OnGUI rendering, or previous OnGUI did not clean up properly.
Did you try installing a different (older) version of unity?
Answer by stevethorne · Dec 14, 2013 at 03:39 PM
Try resetting the layout for your workspace. Select a layout from the drop-down in the top right corner
that has worked thanks for that, any ideas why this error happened?
Just happens every once in a while. Sometimes the windows in the editor gui will get messed up and a simple layout reset will fix it. I suggest saving your layout so that you can reset it to what you prefer, and not have to fiddle with it when you reset it.
Answer by GraviterX · Dec 14, 2013 at 05:33 PM
Try deleting the Unity folder that came when you downloaded it and re download Unity.
Why stop there? Just reformat the entire hdd, that'll certainly solve the problem.
Your answer
![](https://koobas.hobune.stream/wayback/20220613124144im_/https://answers.unity.com/themes/thub/images/avi.jpg)