- Home /
Unity Asset Server Ignore update?
I've got a big problem:
TL;DR: The revision on the asset server breaks everything and overwrites hours of local changes. Backing up locally, updating to the latest revision, then copying out of local backup is not a viable solution (I attempted it and it didn't work.)... How can I go about skipping, or force committing the version on the asset server?
Long story:
Yesterday after finishing a build of my project, it was time to clean up the assets >before moving onto the next iteration. I committed to the Asset Server a "pre-cleanup" revision. After that commit, I proceeded to make massive changes to my assets, I moved several code files that were no longer used into a new folder within unity called "old code", after which, in visual studios, I renamed all those files and ran through a process of refactoring. I then made changes to several scripts to optimize them, remove chunks of debug code, and add new comments. After all those changes, I run the project within the editor and everything was fine, so I committed a "post-cleanup" revision. I then received a request to fix a bug and create a new build, the bug happened to be one I fixed during my cleanup so I just went to build, immediately the issues began. (the issue was with a code file that was renamed purposefully but seemed to break everything.) After an hour of trying to fix all that was broken, I gave up and created a backup of all my scripts that I made fixes to, and reverted to my "pre-cleanup" revision. After reverting I implemented the bug fix requested, added a few scripts to the project from my local backup I just made (these were new scripts i created between the "pre-cleanup" and "post-cleanup" revisions), built the project, everything worked as it should. The rest of that day, I made changes to a number of prefabs and scripts, fixing things, cleaning up, and optimizing. I never bothered to commit because I was too focussed on fixing a few bugs. Today I come into work, open unity, and make a few script changes, update a prefab that's key to the project, and go to commit. Of course I get the good old "Commit failed because some of the files being committed are not up to date. Please update all assets first."