Setting git up with Unity (includes above. NEVER source control anything from Visual Studio (.vs. NEVER source control Library/ or Temp/ or Logs/ Generally the ONLY folders you should ever source control are: Share/Sharing source code between projects: Using fine-grained source control as you work to refine your engineering: Here is how I use git in one of my games, Jetpack Kurt: I usually make a separate repository for each game, but I have some repositories with a bunch of smaller test games. You can also push git repositories to other drives: thumb drives, USB drives, network drives, etc., effectively putting a complete copy of the repository there.Īs far as configuring Unity to play nice with git, keep this in mind: Personally I use git (completely outside of Unity) because it is free and there are tons of tutorials out there to help you set it up as well as free places to host your repo (BitBucket, Github, Gitlab, etc.). Please consider using proper industrial-grade enterprise-qualified source control in order to guard and protect your hard-earned work. PROPERLY CONFIGURING AND USING ENTERPRISE SOURCE CONTROL Try a full reimport of the project, then build. Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared:Ĭlick to expand.Doublecheck you actually did remove all the ad related crap. This is Super super super super SUPER irritating of Unity to do this.Įxtra unwanted packages in new projects (collab, testing, rider and other junk):Ībout the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity. I realize that it is VERY infuriating because this is crapware that I never asked for in my package and that Unity keeps reintroducing EVERY TIME I clone my project to a new location, such as my build machine, which runs a more up-to-date version of Unity.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |