- Home /
Renaming the entire project... How to?
I started out with a pretty decent prototype project and now I am spending a lot more time developing it. Now that I have a name for it and everything I want to change the project name but when I try to do so it loses all the connections to the assets and no longer shows up when I try to re-open it in Unity. Is there anyway I can do a mass renaming/re-pathing?
Note: This is really just for aesthetic purposes, I realize that it won't have an effect on the game and how it works.
Thanks!
Answer by Berenger · Jun 02, 2012 at 07:30 PM
Quit Unity, rename the main folder, the one that contains Assets and co, and restart Unity. Click Open Other, find it and you're good. There shouldn't be any tricks.
How about the .sln and .userprefs names to match the rename of the folder? Simply rename -csharp.sln and .sln to the same name as the folder?
@CheifSpruce You can just remove them, Unity will regenerate them afterwards
I did this but under the Services window it still has the old project name. I know this Services window is new in Unity 5, but does anyone know how to change that?
When you run the game it still has the old name, so this is not really rena$$anonymous$$g the project.
It is rena$$anonymous$$g the project. The product name is not the project name. The product name of Windows is always some form of "windows" (Windows Vista, Windows 8.1, Windows 10) but the project title is usually different ("Longhorn" for Windows Vista, "Windows Blue" for windows 8.1 and "Threshold" for Windows 10). So yes, the project name is the folder name.
If you want to rename / change the product name, check the player settings (Edit--> Project Settings --> Player).
$$anonymous$$eep in $$anonymous$$d that "Player" does not refer to the "user" of your game but to the UnityPlayer, the core engine of your game. Think of it like the FlashPlayer or the V$$anonymous$$WarePlayer.
Also like Unity$$anonymous$$ooCow mentioned below, if you use the new Unity Services for any online services that Untiy provides, that's a seperate name. This name is just the project name as your project is registrated by Unity
Answer by Xonatron · Jan 21, 2017 at 05:12 PM
Here's a more thorough answer, for those who wish to rename the project and product names:
rename the main folder that contains the project
rename the product by going to build settings > player settings > product name. Without this, the product/game will not be renamed, and when it runs it will show as the old title.
load up a script and you'll see all the automatically created files from Visual Studio, and can delete the old ones that are the same type by the old name
in ".vs" -- Visual Studio -- you can delete the old folder and you should see a new folder after you open any script to open Visual Studio.
The question wasn't about rena$$anonymous$$g the product name but the project name. A lot application developments have different project and product names as the product name is usually choosen later. Quake live for example had the working title "Quake Zero". That's why most game files still start with "qz" even though the game was named Quake live since beta.
Good point. I will adjust my wording. I do believe it is helpful to answer both of these questions, rather than to limit the answer to the specifics. There will be people landing on this page that want both.
Answer by eovento · Jul 22, 2018 at 01:08 PM
Despite what many think, it's NOT just renaming the folder and reopening it on Unity - as by doing this, it won't change it's identification along any of Unity's services.
Here is the correct process: 1) Click on "My Account", then "Go to Account". 2) Once it's opened on the browser, choose "Projects" from the side panel. 3) From the list of all your projects, find the one you wanna change and click on "View". 4) From the side panel on the left, choose "Settings" and then "General". 5) Now you've got into the official page to rename your Project in a way Unity is going to recognize all over it's Services.
I think your answer is great. However I'm wondering if you wanted to Duplicate a project. Basically you have one project that is close to something you want to start. The copy / rename works fine, but Unity Services like Collaborate are still associated with the old project. Any thoughts?
You can go to Services -> Settings tab look for UNITI PROJECT ID and there is a button to unlink the project. Then you can create a new one or link to an existing one previously created.
Thank you Javier. I forgot to respond back that I found this as well and it worked great.
I did and 30 $$anonymous$$s later still hasn't changed on my pc.
Answer by UnityMooCow · Oct 15, 2016 at 07:54 AM
Yes this is old, but in future, for people with Pau1's problem: At the top of the services window, click 'go to dashboard'. Then, in 'project home' click 'settings'. Now, click archive. Complete the conformation, and you're good to go! Create a new project ID in the services window, and everything should be fixed.
This is particularly good as if you clone from cloud things will have the right names. Thank you for this answer!
Answer by Waterlane · Dec 18, 2018 at 11:25 PM
I appreciate this is an old thread - but hoping some one can explain what's going on... To rename my project I... 1. Changed to a New Project Name, via my online account (as mentioned above by @eovento ) -old project name remained on local drive- 2. Changed the player name in Unity to match New Project Name -old project name remained on local drive- 3. Changed the project folder to match the New Project Name -Now, when opening Unity, the project cannot be seen under any name!?!?-
Can anyone explain what's going on please.
Hi. You must go to File-> open project then click on the OPEN sign in upper left . Then select the renamed folder and click on "Select Folder button",
Thank you so much @javier-mazzurco - That's so helps!
Do you know if I needed to do all my 1,2,3, steps for rena$$anonymous$$g a project? It seems a little over the top..?
Just adding to this, that I did your "1,2,3 steps" as well in order to rename my own project. I second that it is a bit over the top too and was concerned that I may have missed something in the rena$$anonymous$$g process.
I don't know of any other way to properly rename the project, but it appears that these steps are the only way until there is some upgrade to Unity Hub or Unity.