UPDATE: This was for Unity 4.x, and no longer applies to Unity 5.x
I just re-installed my computer, and installed Unity again, aaah, a clean slate. Upon starting Unity up, I realised that it had the rather daft default New Unity Project path set to something silly like C:\Users\aubrey\Documents\New Unity Project\ – but I gather all my Unity projects in my C:\Development\ folder, so I wanted to change that default path.
A quick Google search found only questions, and no answers, on the Unity forums, as well as StackExchange etc. So I went a digging.
Luckily, it did not take me long to find exactly what I was looking for, which was a single registry entry that needed to be changed.
So here it is:
HKEY_CURRENT_USER\Software\Unity Technologies\Unity Editor 4.x\
In there, you will see a String with a name starting with kProjectBasePath.
At least, that’s what it is on my computer. I merely searched for “kProjectBasePath” in the registry, and the above came up. It’s a simple registry string, so once you find it, double click it and you can edit it to whatever you want.
If you store your Unity Projects in a folder under your Documents folder like I used to, then the following value will do perfectly:
Just make sure you’ve created this folder first.
I do this for the fun of it, and ask nothing in return. If you care to donate to see more, please visit my TipJar page.