spatialos / gdk-for-unity

SpatialOS GDK for Unity
https://gdk.improbable.io/spatialos-gdk-unity
MIT License
355 stars 77 forks source link

Deployment launcher no perms #1489

Open ninjabuilder200 opened 3 years ago

ninjabuilder200 commented 3 years ago

We are accepting issues and we want your feedback.


Description

Describe your issue. no perms error after trying to launch development

Expected behaviour

launch and be able to host that with the basic fps

Current behaviour

Launch of my_deployment failed. Code: UnknownGrpcError Message: Grpc.Core.RpcException: Status(StatusCode=PermissionDenied, Detail="you don't have permission to upload snapshots") at Grpc.Core.Internal.AsyncCall2.UnaryCall(TRequest msg) at Grpc.Core.Calls.BlockingUnaryCall[TRequest,TResponse](CallInvocationDetails2 call, TRequest req) at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method2 method, String host, CallOptions options, TRequest request) at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext2 ctx) at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext2 context, BlockingUnaryCallContinuation2 continuation) at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method2 method, String host, CallOptions options, TRequest request) at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotService.SnapshotServiceClient.UploadSnapshot(UploadSnapshotRequest request, CallOptions options) at Google.Api.Gax.Grpc.ApiCall.<>c__DisplayClass0_02.b1(TRequest req, CallSettings cs) at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>cDisplayClass1_02.<WithRetry>b__0(TRequest request, CallSettings callSettings) at Google.Api.Gax.Grpc.ApiCall2.Sync(TRequest request, CallSettings perCallCallSettings) at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotServiceClientImpl.UploadSnapshot(UploadSnapshotRequest request, CallSettings callSettings) at Improbable.Gdk.DeploymentLauncher.Commands.Create.UploadSnapshot(SnapshotServiceClient client, Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0.DeploymentLauncher\Commands\Create.cs:line 183 at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeploymentInternal[TOptions](TOptions options, Func2 getLaunchConfigJson) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Commands\Create.cs:line 61 at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeployment(Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Commands\Create.cs:line 18 at Improbable.Gdk.DeploymentLauncher.Program.<>c.<Main>b__2_1(Create createOptions) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Program.cs:line 22 at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,T4,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func2 parsedFunc4, Func`2 notParsedFunc) at Improbable.Gdk.DeploymentLauncher.Program.Main(String[] args) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0.DeploymentLauncher\Program.cs:line 17 UnityEngine.Debug:LogError(Object) Improbable.Gdk.DeploymentLauncher.DeploymentLauncherWindow:Update() (at Library/PackageCache/io.improbable.gdk.deploymentlauncher@0.4.0/DeploymentLauncherWindow.cs:118) UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Possible solution

I have no clue

Steps to reproduce

1.boot up the unity project 2.open the fps dev scene 3.cloud build for all workers 4.try to launch dev

Environment

launch dev in accordance with the tutorial Launch of my_deployment failed. Code: UnknownGrpcError Message: Grpc.Core.RpcException: Status(StatusCode=PermissionDenied, Detail="you don't have permission to upload snapshots") at Grpc.Core.Internal.AsyncCall`2.UnaryCall(TRequest msg) at Grpc.Core.Calls.BlockingUnaryCall[TRequest,TResponse](CallInvocationDetails`2 call, TRequest req) at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request) at Grpc.Core.Interceptors.InterceptingCallInvoker.b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx) at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, BlockingUnaryCallContinuation`2 continuation) at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request) at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotService.SnapshotServiceClient.UploadSnapshot(UploadSnapshotRequest request, CallOptions options) at Google.Api.Gax.Grpc.ApiCall.<>c__DisplayClass0_0`2.b__1(TRequest req, CallSettings cs) at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass1_0`2.b__0(TRequest request, CallSettings callSettings) at Google.Api.Gax.Grpc.ApiCall`2.Sync(TRequest request, CallSettings perCallCallSettings) at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotServiceClientImpl.UploadSnapshot(UploadSnapshotRequest request, CallSettings callSettings) at Improbable.Gdk.DeploymentLauncher.Commands.Create.UploadSnapshot(SnapshotServiceClient client, Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Commands\Create.cs:line 183 at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeploymentInternal[TOptions](TOptions options, Func`2 getLaunchConfigJson) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Commands\Create.cs:line 61 at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeployment(Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Commands\Create.cs:line 18 at Improbable.Gdk.DeploymentLauncher.Program.<>c.
b__2_1(Create createOptions) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Program.cs:line 22 at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,T4,TResult](ParserResult`1 result, Func`2 parsedFunc1, Func`2 parsedFunc2, Func`2 parsedFunc3, Func`2 parsedFunc4, Func`2 notParsedFunc) at Improbable.Gdk.DeploymentLauncher.Program.Main(String[] args) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\io.improbable.gdk.deploymentlauncher@0.4.0\.DeploymentLauncher\Program.cs:line 17 UnityEngine.Debug:LogError(Object) Improbable.Gdk.DeploymentLauncher.DeploymentLauncherWindow:Update() (at Library/PackageCache/io.improbable.gdk.deploymentlauncher@0.4.0/DeploymentLauncherWindow.cs:118) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() unity version 2020.1.2f1