Unhandled Exception: Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="")

I’m getting this compiler error when I open my project (upgraded it from the previous version [2022.1.23f1] to the latest version [2022.2.0f1]). what does this mean, and how could I fix it?

Unhandled Exception: Grpc.Core.RpcException: Status(StatusCode="Cancelled", Detail="")
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb6
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x42
   at Grpc.Net.Client.Internal.Retry.RetryCallBase`2.<GetResponseAsync>d__63.MoveNext() + 0x1c8
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb6
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x42
   at Unity.ILPP.Trigger.TriggerApp.<ProcessArgumentsAsync>d__1.MoveNext() + 0x527
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb6
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x42
   at Unity.ILPP.Trigger.TriggerApp.<RunAsync>d__0.MoveNext() + 0x17a
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb6
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x42
   at Program.<<Main>$>d__0.MoveNext() + 0x145
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb6
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x42
   at Program.<Main>(String[]) + 0x20
   at Unity.ILPP.Trigger!<BaseAddress>+0x58c2bf

@edocodes Do you have the Advertisements package installed? I believe that was replaced in 2022.2 with Ads Mediation. I uninstalled it and the error went away. If you need the Ads, you could try “Ads Mediation” or “Advertisement Legacy” from the Package Manager. Hope that solves your problem.

This error happens for me on Ubuntu when Burst is installed which is a major showstopper, I did a test case with an empty directory and just the burst package resolved to identify it as the culprit. Removing burst allows the editor with an empty project to load. I filed a bug report to unity which is still open and I encourage you to do the same.

I get this too; ads is not installed. (I’m running on macOS, and Burst is a dependency of something.)

I updated the Visual Studio Editor package and it seemed to clear up.