Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.6.0a3

Issue ID

UUM-138608

Regression

No

Remote Deployment: Inner Stack Trace Error, when canceling on install stage

Windows

-

Steps to reproduce:

  1. Download latest 6.5 or 6.6 editor that has remote deployment feature for Windows
  2. Set up Xbox PC toolbox and pair a target machine (e.g xbox ally)
  3. Attempt to deploy a project using remote deployment, when the progress window shos it is at the "installing app" stage press cancel (this might be easier with a larger project and clean library/builds)

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:

!image-2026-04-01-09-46-16-323.png!

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.