jrossignol / ContractConfigurator

A config file based solution for creating new contracts for Kerbal Space Program.
https://forum.kerbalspaceprogram.com/index.php?/topic/91625-1
Other
64 stars 67 forks source link

Issue with LRTR Munar Flyby Contract #720

Open WhernerVaunBrown opened 2 years ago

WhernerVaunBrown commented 2 years ago

Exception occured while attempt to generate contract of type 'LRTR.first_MoonFlybyUncrewed': System.NullReferenceException: Object reference not set to an instance of an object at ContractConfigurator.Parameters.ReachState+<>c.b__85_0 (CelestialBody cb) [0x00000] in :0 at ContractConfigurator.LocalizationUtil._LocalizeList[T] (ContractConfigurator.LocalizationUtil+Conjunction conjunction, System.Collections.Generic.IEnumerable1[T] values, System.Func2[T,TResult] strFunc) [0x0001c] in :0 at ContractConfigurator.LocalizationUtil.LocalizeList[T] (ContractConfigurator.LocalizationUtil+Conjunction conjunction, System.Collections.Generic.IEnumerable1[T] values, System.Func2[T,TResult] strFunc) [0x00005] in :0 at ContractConfigurator.Parameters.ReachState.BodyList () [0x00007] in :0 at ContractConfigurator.Parameters.ReachState.CreateDelegates () [0x0001f] in :0 at ContractConfigurator.Parameters.ReachState..ctor (System.Collections.Generic.List1[T] targetBodies, System.String biome, System.Collections.Generic.List1[T] situation, System.Single minAltitude, System.Single maxAltitude, System.Single minTerrainAltitude, System.Single maxTerrainAltitude, System.Double minSpeed, System.Double maxSpeed, System.Double minRateOfClimb, System.Double maxRateOfClimb, System.Single minAcceleration, System.Single maxAcceleration, System.Double minDeltaVeeActual, System.Double maxDeltaVeeActual, System.Double minDeltaVeeVacuum, System.Double maxDeltaVeeVacuum, System.String title) [0x0008d] in :0 at ContractConfigurator.ReachStateFactory.Generate (Contracts.Contract contract) [0x00000] in :0 at ContractConfigurator.ParameterFactory.Generate (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost) [0x00016] in :0 at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List1[T] paramFactories) [0x0007e] in <acc2bf57e11343049fb13ac7a274d031>:0 at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List1[T] paramFactories) [0x0008c] in :0 at ContractConfigurator.ContractType.GenerateParameters (ContractConfigurator.ConfiguredContract contract) [0x00000] in :0 at ContractConfigurator.ConfiguredContract.Initialize (ContractConfigurator.ContractType contractType) [0x00221] in :0

WhernerVaunBrown commented 2 years ago

I got this exception after completing the Scientific Satellite contract in my LRTR save, which unlocks the Lunar set of contracts.