- Home /
Unity crashes when opening/creating any project
The Unity launch window is OK. But every time when I open or create any Unity project, an error message pops up with message:
'Fatal Error! The file 'C:/Program Files/Unity/Editor/Data/Resources/unity editor resources' is corrupted! Remove it and launch unity again! [Position out of bounds!] UnityEngine.GUIUtility: BeginGUI(Int32, Int32, Int32)'
I checked 'Editor.log' and find this part:
...
Unloading 61 unused Assets to reduce memory usage. Loaded Objects now: 606.
Total: 1.011616 ms (FindLiveObjects: 0.159570 ms CreateObjectMapping: 0.034623 ms MarkObjects: 0.802368 ms DeleteObjects: 0.014150 ms)
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initialized touch support.
<RI> Initializing input.
<RI> Input initialized.
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
[C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp line 455]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
illegal LocalPathID in persistentmanager
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUI:set_skin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:54)
UnityEngine.GUIUtility:BeginGUI(Int32, Int32, Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:344)
...
This 'illegal LocalPathID in persistentmanager' message repeats many many times, and at last:
The file 'C:/Program Files/Unity/Editor/Data/Resources/unity editor resources' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
UnityEngine.GUIUtility:Internal_GetDefaultSkin(Int32)
UnityEngine.GUIUtility:GetDefaultSkin() (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:194)
UnityEngine.GUI:DoSetSkin(GUISkin) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:66)
UnityEngine.GUIUtility:SetSkin(Int32) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:397)
[C:\buildslave\unity\build\Runtime/Serialize/SerializationCaching/CachedReader.cpp line 220]
(Filename: C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs Line: 194)
Removing 'C:/Program Files/Unity/Editor/Data/Resources/unity editor resources' doesn't fix this problem.
...
Registering platform support modules:
Platform assembly: C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0\System.Drawing.dll (this message is harmless)
Platform assembly: C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0\System.Data.dll (this message is harmless)
Platform assembly: C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0\Boo.Lang.Compiler.dll (this message is harmless)
Platform assembly: C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0\Boo.Lang.dll (this message is harmless)
Platform assembly: C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0\Boo.Lang.Parser.dll (this message is harmless)
Platform assembly: C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0\UnityScript.Lang.dll (this message is harmless)
Platform assembly: C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0\Mono.Security.dll (this message is harmless)
Downloading http://update.unity3d.com/5.6/ivy.xml to C:\Users\Kratos\AppData\Local\Temp\unity\c1725c66-5bee-4614-9246-aea662c03351\ivy.xml
Registered platform support modules in: 0.11455s.
Native extension for WindowsStandalone target not found
Begin MonoManager ReloadAssembly
Shutting down Remote Indexer
Task failed: Downloader Task
Failed to load Editor resource file
UnityEditor.EditorGUIUtility:GetEditorAssetBundle()
UnityEditor.EditorGUIUtility:Load(String, Type) (at C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIUtilityBindings.gen.cs:509)
UnityEditor.EditorGUIUtility:Load(String) (at C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIUtilityBindings.gen.cs:498)
UnityEditor.EditorGUIUtility:LoadGeneratedIconOrNormalIcon(String) (at C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIUtilityBindings.gen.cs:192)
UnityEditor.EditorGUIUtility:LoadIconForSkin(String, Int32) (at C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIUtilityBindings.gen.cs:208)
UnityEditor.EditorGUIUtility:LoadIcon(String) (at C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIUtilityBindings.gen.cs:186)
UnityEditor.EditorGUIUtility:get_warningIcon() (at C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIUtilityBindings.gen.cs:400)
UnityEditor.EditorGUI:.cctor() (at C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIBindings.gen.cs:23)
UnityEditor.ScriptReloadProperties:Store() (at C:\buildslave\unity\build\artifacts\generated\common\editor\ScriptReloadPropertiesBindings.gen.cs:62)
UnityEditor.ScriptReloadProperties:Store() (at C:\buildslave\unity\build\artifacts\generated\common\editor\ScriptReloadPropertiesBindings.gen.cs:60)
[C:\buildslave\unity\build\Editor/Src/EditorResources.cpp line 59]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/editor/EditorGUIUtilityBindings.gen.cs Line: 509)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612120140im_/https://answers.unity.com/themes/thub/images/avi.jpg)