Not signed in
Copyright © 2026 Unity Technologies
Steps to reproduce:
Actual results: Task cancelled exception error (full log below)
Expected results: Cancels gracefully without error
Reproducible with versions: 6000.6.0a3 6000.5.0b4
Tested on (OS): Windows 11
Stage when to cancel:
Error message
BuildFailedException: Build and Run failed to remote device. Output: System.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <550ccb07b65848deac5079b8706ec676>:0
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <550ccb07b65848deac5079b8706ec676>:0
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout) [0x00000] in <550ccb07b65848deac5079b8706ec676>:0
at UnityEditor.WindowsStandalone.RemoteItrgs) [0x000f7] in C:\build\output\unity\unity\PlatformDependent\WinPlayer\Extensions\Managed\RemoteIterationToolkit.cs:82
--> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<--
UnityEditor.WindowsStandalone.RemoteIterationToolkit.RemoteCopyAndLaunchToXboxPcToolboxDevice (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/build/output/unity/unity/PlatformDependent/WinPlayer/Extensions/Managed/RemoteIterationToolkit.cs:101)
UnityEditor.WindowsStandalone.WinPlayerPostProcessor.PostProcessCompletedBuild (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/build/output/unity/unity/PlatformDependent/WinPlayer/Extensions/Managed/WinPlayerPostProcessor.cs:255)
UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <55cfe31bb0b445c59a202c12fa88507b>:0)
UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <55cfe31bb0b445c59a202c12fa88507b>:0)
UnityEditor.WindowsStandalone.WinPlayerPostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at C:/build/output/unity/unity/PlatformDependent/WinPlayer/Extensions/Managed/WinPlayerPostProcessor.cs:196)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <55cfe31bb0b445c59a202c12fa88507b>:0)
UnityEditor.EditorApplication:Internal_CallDelayFunctions()erationToolkit.RemoteCopyAndLaunchToXboxPcToolboxDevice (UnityEditor.Modules.BuildPostProcessArgs a
Sign in to see your voted issues