- Home /
Upgrading Unity from 2018.2.16 to 2019.2.16 broke my project
I have been working on a game for several years, and it uses models/animations imported from blender. I recently updated my version of Unity from 2018.2.16 to 2019.2.16. Now for some reason none of my blender files are usable, and all the prefabs made from blender files show "missing prefab" now. I then attempted to open the project in 2018.2.16 because I figured it would still work in the old update, but again all the blender files are broken in the same way they were in 2019 version. I have since gotten the newest update, 2019.2.17f1, and tried to open the project on that version. Some of the blender files work now, but everything that has an armature is really messed up and some objects are still missing or weird and distorted. Also, some materials that were blender materials are bright pink now. I have also deleted every version of unity I had on my computer and reinstalled both 2019.2.17f1 and 2018.2.16 just in case that had something to do with it, but nothing changed after doing that.
I just want it to go back to the way it was, I'm stupid and haven't backed up in a while so just reverting to a previous version is not ideal. I don't care if I have to go back to the 2018 version of unity in order for the game to work and just not update Unity again, I just need it working again.
Update: I made a smaller project in unity 2018.2.16 with some blender stuff then converted to 2019.2.17. Same thing happened, blender files weren't working. But when I converted it back, all the blender prefabs looked perfect and the game looked same as it did before the update. Problem is there are 160 compile errors. Here are some of them:
/Editor/ProjectGeneration/ProjectGeneration.cs(440,70): error CS1644: Feature out variable declaration' cannot be used because it is not part of the C# 6.0 language specification Editor/Collab/Views/ICollabHistoryItemFactory.cs(15,21): error CS0122:
UnityEditor.Collaboration.RevisionData' is inaccessible due to its protection level
System.$$anonymous$$ethodAccessException: $$anonymous$$ethod UnityEditor.Build.BuildDefines.add_getScriptCompilationDefinesDelegates(UnityEditor.Build.GetScriptCompilationDefinesDelegate)' is inaccessible from method
UnityEditor.Analytics.AnalyticsImporter..cctor()' at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_throw_method_access(intptr,intptr) at UnityEditor.Analytics.AnalyticsImporter..cctor () [0x00132] in /home/builduser/buildslave/com.unity.analytics/package/Source/Unity.Analytics.Editor/Importer.cs:49 UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
Assembly has reference to non-existent assembly 'Unity.ugui' (Packages/com.unity.textmeshpro/Scripts/Editor/Unity.Text$$anonymous$$eshPro.Editor.asmdef)
If anyone knows what's going on here please help me fix it.
Update #2: also when the small project reverted back to 2018 all the terrains I made in the game were gone
Answer by warthos3399 · Jan 04, 2020 at 10:58 PM
I feel for you, but if you dont have a backup, theres nothing that can be done, well almost, unless you want to re-make all your models/animations all over again.
Also always use a LTS (long term support) version of unity, and never update or change versions, stick with one version for the duration of your project. Hope you get it taken care of and continue, best of luck :)