When I go to create a new project, and I choose to create a C++ project over Blueprint I get the following error from mono:
Failed to generate project files. Log output:
Running Mono…
Setting up Mono
/Users/Shared/UnrealEngine/4.7/Engine /Users/Shared/UnrealEngine/4.7/Engine/Binaries/Mac
UnrealBuildTool Exception: System.IO.FileNotFoundException: Could not find file "/Users/username/.bash_profile"
File name: '/Users/username/.bash_profile'
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
at System.IO.File.OpenText (System.String path) [0x00000] in <filename unknown>:0
at System.IO.File.ReadAllLines (System.String path) [0x00000] in <filename unknown>:0
at UnrealBuildTool.AndroidPlatform.HasAnySDK () [0x00000] in <filename unknown>:0
at UnrealBuildTool.AndroidPlatform.HasRequiredManualSDKInternal () [0x00000] in <filename unknown>:0
at UnrealBuildTool.UEBuildPlatform.HasRequiredManualSDK () [0x00000] in <filename unknown>:0
at UnrealBuildTool.UEBuildPlatform.ManageAndValidateSDK () [0x00000] in <filename unknown>:0
at UnrealBuildTool.UEBuildPlatform.RegisterBuildPlatform () [0x00000] in <filename unknown>:0
at UnrealBuildTool.UnrealBuildTool.RegisterAllUBTClasses (Boolean bSkipBuildPlatforms) [0x00000] in <filename unknown>:0
at UnrealBuildTool.UnrealBuildTool.Main (System.String[] Arguments) [0x00000] in <filename unknown>:0
(I’ve changed my username to “username” so you might see “/Users/username”)
I’m not sure how to get around this, or why it’s got such a dependency on .bash_profile
, I use zsh, so I have a .zshrc
instead - is this going to be a problem? Do I just need to create a dummy file? Is there some setting I’m missing that I should be using instead?