Scene Appears Corrupt - index out of range, issue with sharedassets0.assets.resS
I had some serious issues with my git repository and restoring the state of my project. After I got it back in place, I couldn't open Unity - turned out that the default scene was corrupted. I renamed the scene in the Finder and was able to open Unity, but trying to load the scene caused a crash with the following log:
Opening scene 'Assets/Scenes/~DummyScene.unity' Load scene 'Assets/Scenes/~DummyScene.unity' time: 0.008320 ms Unloading 3 Unused Serialized files (Serialized files now loaded: 0) [00:00:00] Enlighten: Reflection Probes took 10.043476 seconds. Cancelled, so not done yet. System memory in use before: 169.1 MB. System memory in use after: 169.4 MB.
Unloading 107 unused Assets to reduce memory usage. Loaded Objects now: 4974. Total: 12.980789 ms (FindLiveObjects: 0.431474 ms CreateObjectMapping: 0.070214 ms MarkObjects: 12.071641 ms DeleteObjects: 0.405853 ms)
ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at System.Collections.Generic.List`1[UnityEditor.EditorWindow].get_Item (Int32 index) [0x0000c] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Gener$ at UnityEditor.DockArea.OnGUI () [0x0047f] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:327
(Filename: /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs Line: 633)
ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at System.Collections.Generic.List`1[UnityEditor.EditorWindow].get_Item (Int32 index) [0x0000c] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Gener$ at UnityEditor.DockArea.OnGUI () [0x0047f] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:327
(Filename: /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs Line: 633)
Cancelling DisplayDialog because it was run from a thread that is not the main thread: Opening file failed Opening file /Users/xepherys/Labyrintheer/sharedassets0.assets.resS: No su$
(Filename: /Users/builduser/buildslave/unity/build/Editor/Platform/OSX/EditorUtility.mm Line: 379)
Force Quit pressed for Opening file failed: Opening file /Users/xepherys/Labyrintheer/sharedassets0.assets.resS: No such file or directory
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Utilities/RetriableOperation.h Line: 103)
objc[1049]: Invalid or prematurely-freed autorelease pool 0x10d019500. Set a breakpoint on objc_autoreleasePoolInvalid to debug. Proceeding anyway because the app is old (SDK versio$
Issues with the sharedassets0.assets.resS file all seem to point to some Typeface asset package that I'm not using. Is there any way to rebuild the scene asset, or possibly "fix" it? I can't seem to get it to work.
Thanks!