Description

When running GenerateProjectFiles.command on Mac from a folder with a space in the nam, the folder structure is read incorrectly. This leads to the .command file failing when trying to set up Mono

Steps to Reproduce
  1. Download/extract source zip folder from Github release branch
  2. Rename extracted folder to "Unreal Engine 4.12.5 Source"
  3. Inside the folder, run Setup.command and GenerateProjectFiles.command

Result:
The GenerateProjectFiles.command will fail with provided error

Expected:
Installation knows which folder it is in and can download dependencies successfully.

Callstack
Setting up Unreal Engine 4 project files...
~ support$ /Users/support/Downloads/Unreal\ Engine\ 4.12.5\ Source/GenerateProjectFiles.command ; exit;

Setting up Mono
/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe': ApplicationName='/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/m4/4zcj57ts1fncljvjwlq5drym0000gp/T/tmp11c87284.tmp', CurrentDirectory='/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Source/Programs/DotNETCommon/DotNETUtilities', Native error= Cannot find the specified file
/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe': ApplicationName='/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/m4/4zcj57ts1fncljvjwlq5drym0000gp/T/tmp2ece909b.tmp', CurrentDirectory='/Users/support/Downloads/Unreal Engine 4.12.5 Source/Engine/Source/Programs/EnvVarsToXML/EnvVarsToXML', Native error= Cannot find the specified file
Cannot open assembly '../../../Binaries/DotNET/UnrealBuildTool.exe': No such file or directory.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Have Comments or More Details?

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

2
Login to Vote

Duplicate
ComponentUE - Platform - Apple
Affects Versions4.12.5
CreatedJul 11, 2016
ResolvedApr 20, 2017
UpdatedSep 23, 2019
View Jira Issue