- Home /
Can you change the default location of a new Unity project?
I often create a new project, just to test things out in a fresh project that I can delete off my hard drive shortly thereafter. At least on the Mac, the location of the default project is the user folder. I never want it there. Sometimes I find that I've accidentally created a bunch of numbered folders starting with "New Unity Project" in my home directory, as I very infrequently visit the folder.
Actually, I think I've logged that as a bug report a while back. AFAI$$anonymous$$, it's simply not possible AT$$anonymous$$ (ah, those acronyms ;-) ). $$anonymous$$ight be worth an entry on feedback.unity3d.com, too (I$$anonymous$$HO). In my opinion, Unity should simply keep the last location stored in its "preferences", like most applications do.
Please post the fogbugz case number or a link to the case at feedback.unity3d.com. It would be very helpful, thanks.
Answer by jashan · Dec 24, 2009 at 10:05 AM
No ... currently, I think this is not possible. ... personally, I still do consider this a bug (a very mildly annoying one, though ;-) ).
Ah, looking at my bugs I almost got scared that I got it wrong because I had also filed a couple of other "create/open project"-related issues that all got fixed (thank you!!!) - but this particular one's still open. That would be Case 30314 (it's an old one, you might have to dig it up from the archives ;-) ).
Answer by Poemind · Apr 16, 2014 at 05:05 PM
I would like to see this also, doesn't seem like it would be a hard thing to implement.
Answer by DeepwaterNewt · Sep 03, 2014 at 07:29 PM
Sorry to resurrect an old question, but I've found the answer, it's a simple registry entry that needs to be changed. See here: http://www.dociletree.co.za/adventures-in-unity-how-to-change-the-default-new-unity-project-path-in-windows/ for more information.
Answer by ehfdub · Feb 09, 2015 at 12:20 AM
For Windows, Unity uses the personal documents folder as the default save-to location. As of Unity 4.6 this is not alterable nor does Unity save the last-used folder (unfortunately). I know this is a small feature but would be a nice time-saver for me.
If you're running Unity on Windows then you can try launching Unity from a script which sets temporarily updates the personal documents folder and reverts the value when Unity is closed. Details can be found here http://blog.electrongoo.com/how-to-update-unity3ds-default-project-location/
Good luck!
Answer by flatplant · Mar 17, 2015 at 01:38 AM
I've managed to sort this out, at least in Unity 4.x in Windows, with the help of AutoHotkey. This little script will do the trick for you. Note that it only works if you use ALT-F first to open the File menu, then select "New Project" (with with keyboard or mouse) within 5 seconds of hitting ALT-F. (Had to do it this way because unfortunately AHK can't trigger on menu selections specifically, just keypresses).
Go here for the wonderful AutoHotkey: http://www.autohotkey.com/
Just replace the string "E:\Unity\Projects\" with whatever path you want to default to (without the quotes).
#IfWinActive ahk_class UnityContainerWndClass
{
~!f::
WinWaitActive Unity - Project Wizard,, 5
If (ErrorLevel = 0) {
ControlSetText Edit1, E:\Unity\Projects\, A
ControlSend Edit1, {end}, A
}
Return
}
Bit of a hack, but does the trick!
Your answer
Follow this Question
Related Questions
Is it possible to modify the default Unity project to include custom files? 3 Answers
Unity Defaut Assets ... will they reset for every project ? 1 Answer
Is there a way to change the default InputManager settings, for new projects? 1 Answer
Can I set up xCode to build with the same options for each new Unity project? 1 Answer
Changing the default project location 3 Answers