Description

If the project's file path contains a space, attempting to generate project files fails because the file path does not preserve quotes.

UnrealBuildTool Exception: ERROR: Directory '/home/doug/Documents' is missing 'Source' folder.

Steps to Reproduce
  1. Create new code based project (MyProject) in "Unreal Projects" folder
  2. In the terminal, navigate to to engine folder location
  3. Enter the following command to generate code files for the project
    ./GenerateProjectFiles.sh -project="'/Path/to/game/project.uproject'" -game
    

Result:
Process errors stating the directory prior to "Unreal Projects" is missing 'Source' folder"

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Cannot Reproduce
ComponentUE - Platform - Linux
Affects Versions4.13.24.14
CreatedNov 7, 2016
ResolvedMay 17, 2018
UpdatedMay 25, 2018