[4.8 P2] iOS cook fails when launching

Hi Guys,

Deployment to iOS is still broken for me. Works fine on 4.7.6. Currently on OSX 10.10.3. Getting this:

LogPlayLevel: CommandUtils.Run: Run: Took 11.296404s to run UE4Editor, ExitCode=139
LogPlayLevel: InternalUtils.SafeCopyFile: SafeCopyFile /Users/Shared/UnrealEngine/4.8/Engine/Programs/AutomationTool/Saved/Cook.txt /Users/thomasmayer/Library/Logs/Unreal Engine/LocalBuildLogs/Cook.8.txt
LogPlayLevel: InternalUtils.SafeDeleteFile: SafeDeleteFile /Users/Shared/UnrealEngine/4.8/Engine/Programs/AutomationTool/Saved/Cook.txt
LogPlayLevel: Project.Cook: Cook failed. Deleting cooked data.
LogPlayLevel: ErrorReporter.Error: ERROR: AutomationTool error: Cook failed.
LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel: Program.Main: ERROR: Exception in AutomationTool: BUILD FAILED: Failed while running Cook for /Users/thomasmayer/Documents/Unreal Projects/TestiOS/TestiOS.uproject; see log /Users/thomasmayer/Library/Logs/Unreal Engine/LocalBuildLogs/Cook.8.txt
LogPlayLevel: Stacktrace:   at AutomationTool.CommandUtils.RunCommandlet (System.String ProjectName, System.String UE4Exe, System.String Commandlet, System.String Parameters) [0x00000] in :0
LogPlayLevel:   at AutomationTool.CommandUtils.CookCommandlet (System.String ProjectName, System.String UE4Exe, System.String[] Maps, System.String[] Dirs, System.String InternationalizationPreset, System.String[] Cultures, System.String TargetPlatform, System.String Parameters) [0x00000] in :0
LogPlayLevel:   at Project.Cook (AutomationTool.ProjectParams Params) [0x00000] in :0
LogPlayLevel: Program.Main: ERROR: BUILD FAILED: Failed while running Cook for /Users/thomasmayer/Documents/Unreal Projects/TestiOS/TestiOS.uproject; see log /Users/thomasmayer/Library/Logs/Unreal Engine/LocalBuildLogs/Cook.8.txt
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=25
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: Completed Launch On Stage: Cook Task, Time: 10.894131
LogPlayLevel: RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults:Error: Error Launch failed! Unknown Cook Failure

Steps to reproduce:

  • Open 4.8 P2 on OSX
  • Create new scalable 2d/3d mobile project
  • Make sure you are set up to deploy to an iDevice
  • Select your device in the launch dropdown in the toolbar to deploy.
  • Note the unknown cook error

Tommy.

Howdy TommyBear,

Thank you for reporting the error that you have been seeing. I have tested this issue internally and have been able to replicate this issue with ease. I have also tested this issue on our internal build and it is still occurring. I have written a bug report and have entered Jira UE-15659 into our bug database so that the issue may be addressed in a future release. At this time, I am unsure as to when this issue will be release but I will be sure to keep you posted when I know more.

Thanks and have a great day!

Could you provide the whole log for your failure? While we have reproduced a failure here locally, there isn’t enough information in the above log to determine if it is the same failure or a different one.

-Pete

Awesome! Thank you very much Sean!

Hi Pete! Not a problem. Here it is. Sensitive info is marked out with XXXXXXX.

Tommy.link text

OK, turns out that if you quit the editor and load back up, the problem goes away. This is at least a workaround :slight_smile:

Tommy.