VCS Ups and Downs
Spent more time than ideal setting up a VCS system for the project – what a nightmare – but then all these things are when you’re starting from scratch.
Thing is when relocating the unity project to a more convenient dir (and adding the git stuff there) all the unity stuff broke – the whole scene turned pink as it lost all its mat references. Had to reimport all the extra assets I’ve been using and set the render mats (PHEW!).
This did provide me with the opportunity to rethink the render pipeline and upgrade it to HDRP – so every pink cloud etc…
Results
- VCS is run through github using github desktop client (https://desktop.github.com/).
- Now updated to include all unity assets. Moved unity save folder to a git folder so all associated unity data is committed to https://github.com/chrismog/Unity_Project_Inside.
- Updated .gitignore to ignore .meta suffix. Github provides a functional git.ignore for Unity that can be selected when creating a new repo.
- NOTE: Its worth adding that you can’t sync folders to git if you have more than one repo (e.g. in a child dir). Check for hidden git files/folders in your dirs with cmd+shift+dot: https://github.com/desktop/desktop/issues/4432