Description

See CL 6473818.

Remote compiling on a Mac is triggering a NullReferenceException for me, making me unable to build. I was able to delete the crashing lines locally to work around it for now.

line 914 - Execute("/", String.Format("rm -rf {0}/Intermediate/IOS/*.plist", GetRemotePath(ProjectFile.Directory)));

UATHelper: Packaging (iOS):   ERROR: Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
UATHelper: Packaging (iOS):             at UnrealBuildTool.RemoteMac.UploadWorkspace(DirectoryReference TempDir) in D:\Workspaces\RDU-WD-L0170_dev_editor\Engine\Source\Programs\UnrealBuildTool\ToolChain\RemoteMac.cs:line 914
UATHelper: Packaging (iOS):             at UnrealBuildTool.RemoteMac.Build(TargetDescriptor TargetDesc, FileReference RemoteLogFile) in D:\Workspaces\RDU-WD-L0170_dev_editor\Engine\Source\Programs\UnrealBuildTool\ToolChain\RemoteMac.cs:line 501
UATHelper: Packaging (iOS):             at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in D:\Workspaces\RDU-WD-L0170_dev_editor\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 153
UATHelper: Packaging (iOS):             at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in D:\Workspaces\RDU-WD-L0170_dev_editor\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 443
Steps to Reproduce

I attempted to remote compile the attached project for IOS

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-74772 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.22.2
Target Fix4.22.3
Fix Commit6683824
Main Commit6838061
CreatedMay 17, 2019
ResolvedJun 3, 2019
UpdatedFeb 5, 2020