GenerateProjectFiles does not work on mac when you rename folder

Hey, I had little issue here, so I am going to let you know it happens, even when there is workaround…

I downloaded source from GitHub release branch using zip package (currently, it is 4.12.5) and placed it on desktop and then renamed “UnrealEngine-release” to “Unreal Engine 4.12.5 Source”. If it is named like this then GenerateProjectFiles.command does not work and throws long error about mono and missing unrealheadertool. When I renamed it back it started working and now it works even when I rename folder back to “Unreal Engine 4.12.5 Source”.

Hey Skylonxe-

The issue appears to be that the spaces in the folder name are causing the file to them as a string of separate folders rather than as one name. I have entered a bug report for this behavior as UE-33015 for investigation. As you mentioned, removing the spaces and running the file again allows the setup step to complete successfully.

Cheers