So I have a project which I am wanting to continue for a long time supporting. I already released the game onto Android Play Store.
I added lots of functionality (including Google Play Achievements, Leaderboards etc. Using the Unofficial Google Play Plugin).
I read a few guides and noted that I should not include the ‘Library’ folder from the Unity project into VC. (This folder took up the majority of the space).
Now I have managed to screw the project up. I got loads of errors after I imported it back from Github (most I read related to GooglePlayPlatform (ie. the plugin)). I had kept a .zip of my original folder before I used Github so I tried to remove all and go back to this zip version.
Now I still have errors 🙁 and I have deleted the original zip now (it was too big for recycle bin and I messed up, deleted it by mistake).
Another complication is that I had imported TextMeshPro package to the project a long time back, but never used any of it.
Many of the errors I got after recovering to the zip version was relating to TextMeshPro, so I removed that package. This got rid of most errors. But I still have 2 errors relating to
TrackAsset which seems to be either a Unity engine type, or part of the Google plugin I am using.
Is there anything I can do, I had made huge progress with this game so it will be a real shame to lose all that work.
The exact errors read like this:
LibraryPackageCachecom.firstname.lastname@example.orgRuntimeUtilitiesTimelineCreateUtilities.cs(69,78): error CS0246: The type or namespace name 'TrackAsset' could not be found (are you missing a using directive or an assembly reference?)
LibraryPackageCachecom.email@example.comRuntimeUtilitiesTimelineCreateUtilities.cs(93,48): error CS0246: The type or namespace name 'TrackAsset' could not be found (are you missing a using directive or an assembly reference?)
I purely want to know how I can recover my project. I am not concerned about how to properly VC a Unity project. From now on for the time being I am just going to backup my projects without excluding any files at all.