Skip to content

SpaceCenter.Service.LaunchVessel throws exception in WaitForVesselSwitch #516

@JonnyOThan

Description

@JonnyOThan

KRPC Version: 0.4.8
KSP Version: 1.5.1

Trying to use LaunchVessel fails in WaitForVesselSwitch, both from the KSC scene and from flight, with this stack trace:

KRPC.Client.RPCException: Object reference not set to an instance of an object
Server stack trace:

  at KRPC.SpaceCenter.Services.SpaceCenter.WaitForVesselSwitch (Int32 tick) [0x00000] in <filename unknown>:0
  at KRPC.Continuations.ParameterizedContinuationVoid`1[System.Int32].Run () [0x00000] in <filename unknown>:0
  at KRPC.Continuations.Continuation.RunUntyped () [0x00000] in <filename unknown>:0
  at KRPC.Service.Services.ExecuteCall (KRPC.Service.Scanner.ProcedureSignature procedure, IContinuation continuation) [0x00000] in <filename unknown>:0
   at KRPC.Client.Connection.Invoke(ProcedureCall call)
   at KRPC.Client.Connection.Invoke(String service, String procedure, IList`1 arguments)
   at KRPC.Client.Services.SpaceCenter.Service.LaunchVessel(String craftDirectory, String name, String launchSite, Boolean recover)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions