Several things fail after the program crashes in this way:
-My layouts revert to some default view, and when I attempt to load my personal layout, it gives an error such as: “Failed to destroy view #n”
-Any packages that I have imported from the asset store fail to load. Furthermore, the packages cannot be reimported into the project. Reimporting them appears to work, scripts compile, packages are unzipped, progress bars progress, but nothing in the editor changes. Example, I use the PlayMaker plugin, which has it’s own windows and a pull-down menu. None of these appear, despite the appropriate folders and files existing in the project view. This may be related to the problem described above.
-The scenes will load fine, but all assets in them fail to do so because of various disconnects. Example would be any meshes that I imported into the editor from 3ds Max: the gameobjects which represent these assets are still in the scene, but viewing them in the inspector shows that, in the case of a Mesh Filter component, the Mesh attribute is labeled as “”. The same goes for any other connection to an external asset. The materials are all “”, all textures and fonts in my GUIskin are “”, and so on.
I can manually reconnect any of these by going to the project view and dragging each mesh back into the MeshFilter component on each and every gameobject in the scene that uses it, by hand. Same for textures and all other assets, but when you’ve worked up to several thousand assets spread across several dozen scene files, this is no longer a valid manual process.
Things that remain intact: All objects still appear to be in the scenes. The scenes themselves do not break or error, and scripts and other gameplay related data is still present. Additionally, any Unity-created components (boxes, spheres, etc) are still present and do not have a “” attribute in their respective components.
Regarding the prefabs in these scenes: my prefabs are displayed in red text within the Hierarchy view. They also lack the usual buttons of “apply”, “select” and “revert”, they’re just not displayed. Using the pull-down option of “Revert to Prefab” in the component options menu does nothing.
If I drag a prefab object from my project view into the scene, it also has each of its component attributes labeled as “”, as though each prefab in the scene dropped all its connections, and then applied the change to the original.
Regarding importing data: once this crash occurs, I can no longer export the project because of all the issues I have detailed above. Instead I will create a whole new project with the same name, import all necessary packages/plugins to the fresh, new project, and then copy the old project folder over to the new one. This fixes all issues with the exception of the disconnected assets.
Thank you very much for your help. I’m sorry to be so pushy, but this has the potential to be catastrophic to my project, time and money. once you’ve invested so much into this program, having it destroy all your hard work is very hard to deal with. If I’ve left anything out or can provide more information please let me know. I am very eager to resolve this problem so it doesn’t happen again, or at least allows for an easy recovery.
Thank you again.