Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Changing the build executable path in 2018.3.6f1

Discussion in 'Editor & General Support' started by fadeway, Aug 4, 2019.

  1. fadeway

    fadeway

    Joined:
    Apr 15, 2018
    Posts:
    9
    Hi,

    I made the mistake of creating a project with an ':' in the product name. So of course this generates an invalid path when building on Windows. I changed the product name, which AFAIK is what determines the build path. However pressing 'build and run', Unity still uses the path with ':' in it (the error below is Unity failing at the 'run' step since it can't find the executable it created).



    Fortunately an executable does get generated (at '..\src\FieldWarning\Project\Project\ FieldWarning.exe') but this is pretty annoying. Does anyone know what I need to change to update the build path?
     
  2. fadeway

    fadeway

    Joined:
    Apr 15, 2018
    Posts:
    9
    If anyone finds this thread wondering about the same thing, it turns out that you can select the build location manually if you open the detailed build settings and press "build" instead of always using the "build and run" shortcut.