• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by user-1605 (google) · Mar 11, 2010 at 06:33 PM · buildfilesettingsnamerun

How to change the file name for the final build?

I have completed my project and am in the process of building it for standalone application on an intel based mac. My problem is that it builds the project with an old name that i used when i first started it. How do i change the build name?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robertbu · Apr 28, 2014 at 12:36 AM 0
Share

@hansthered - you should post this as a new question rather than an answer to an existing question.

3 Replies

· Add your reply
  • Sort: 
avatar image
17

Answer by Mike 3 · May 05, 2010 at 11:08 AM

Edit>Project Settings>Player, change Product Name

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image agentsmith · Jul 09, 2010 at 08:38 AM 0
Share

Thanks Mike! This really helped!!! :)

avatar image eskivor · Feb 17, 2018 at 09:27 PM 0
Share

yes, but how to get or set the build file name via a script ?

avatar image idbrii eskivor · Mar 23, 2018 at 10:44 PM 0
Share

@eskivor: That's a whole other question. See this answer:

 var exe_basename = Application.productName.Replace(" ", "");
 var exe_path = CombinePaths(Application.dataPath, "..", exe_basename +".exe");

avatar image
4

Answer by Cyclops · Mar 11, 2010 at 07:02 PM

Select File->Build Settings, then the Build button, and it prompts you for what filename to use. I presume you've been doing CTRL-B for Build-and-Run?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image user-1605 (google) · Mar 16, 2010 at 11:01 AM 0
Share

No I have been going to build and run and entering a fileName. The name that appears only if the screen is windowed. It appears to be an old folder name? Any help please.

avatar image
3

Answer by agentsmith · Jul 09, 2010 at 09:36 AM

I'll add one caveat to Mike's answer. In Unity 2.6 if I change the Product Name to something new WITHOUT renaming the project folder too, then I got an error trying to build any of the Apple/Mac builds (from Windows 7). The error: "DirectoryNotFoundException"; however if I can build the Windows version fine. If I change the name of the folder to EXACTLY match the Edit>Project Settings>Player>Product Name then it'll build the Apple versions successfully.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

How to move a build file from mac to windows? 1 Answer

Build options with only resolution 2 Answers

build game different from run game 1 Answer

Set build player to android, unity reverts to web player on restart. 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges