Description

Was able to repro this on machines with and without machines set up for Xbone testing.

Steps to Reproduce

Repro:

  1. Create a template project.
  2. Open the project in UE4Editor and Launch on to your machine.

Result:
Launch on fails during the staging process due to:

 LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.

Expected:
Launch on successfully completes.

Callstack
LogPlayLevel: Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 0.753536
LogPlayLevel: Project.CreateStagingManifest: Creating Staging Manifest...
LogPlayLevel: Project.CleanStagingDirectory: Cleaning Stage Directory: C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying NonUFSFiles to staging directory: C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying DebugFiles to staging directory: C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying UFSFiles to staging directory: C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin, deleting, waiting 10s and retrying.
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path 'D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin'.
LogPlayLevel: Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel: InternalUtils.SafeCopyFile: WARNING: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Failed to copy D:\Epic Games\4.15\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin to C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyProject2\Saved\StagedBuilds\WindowsNoEditor\Engine\Plugins\Media\XboxOne\MfMedia\MfMedia.uplugin
LogPlayLevel:    at AutomationTool.CommandUtils.CopyFileIncremental(String Source, String Dest, Boolean bAllowDifferingTimestamps, Boolean bFilterSpecialLinesFromIniFiles)
LogPlayLevel:    at Project.CopyManifestFilesToStageDir(Dictionary`2 Mapping, String StageDir, String ManifestName, List`1 CRCFiles, String PlatformName)
LogPlayLevel:    at Project.CopyUsingStagingManifest(ProjectParams Params, DeploymentContext SC)
LogPlayLevel:    at Project.ApplyStagingManifest(ProjectParams Params, DeploymentContext SC)
LogPlayLevel:    at Project.CopyBuildToStagingDirectory(ProjectParams Params)
LogPlayLevel:    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel:    at BuildCookRun.ExecuteBuild()
LogPlayLevel:    at AutomationTool.BuildCommand.Execute()
LogPlayLevel:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel:    at AutomationTool.Automation.Process(String[] Arguments)
LogPlayLevel:    at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel:    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel:    at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 90.064036
LogPlayLevel: BUILD FAILED

PackagingResults:Error: Error Launch failed! Unknown Error

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.15
Target Fix4.15
Fix Commit3256177
Main Commit3389599
Release Commit3256177
CreatedJan 10, 2017
ResolvedJan 12, 2017
UpdatedApr 27, 2018