Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible contracts/parts after updating mods in CKAN? #719

Open
GaryWhittle19 opened this issue Aug 19, 2022 · 1 comment
Open

Incompatible contracts/parts after updating mods in CKAN? #719

GaryWhittle19 opened this issue Aug 19, 2022 · 1 comment

Comments

@GaryWhittle19
Copy link

GaryWhittle19 commented Aug 19, 2022

Got an exception message loading into my 1.10.1 RSS/RP-1 save. Not sure what's going on, maybe I need to backdate one of the parts mods? I tried backdating configurator to 1.30.5 but didn't seem to have any impact on this issue.

Exception occured while loading contract parameter 'HasBiologicalSample' in contract 'RP0.SoundingRocketAdvancedBio':
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: 'BioCapsule' is not a valid Part.
  at ContractConfigurator.ConfigNodeUtil.ParsePartValue (System.String partName) [0x00025] in <acc2bf57e11343049fb13ac7a274d031>:0 
  at ContractConfigurator.ConfigNodeUtil.ParseSingleValue[T] (System.String key, System.String stringValue, System.Boolean allowExpression) [0x000f9] in <acc2bf57e11343049fb13ac7a274d031>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
   --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at ContractConfigurator.ConfigNodeUtil.ParseValue[T] (ConfigNode configNode, System.String key, System.Boolean allowExpression) [0x001f0] in <acc2bf57e11343049fb13ac7a274d031>:0 
  at ContractConfigurator.ConfigNodeUtil.ParseValue[T] (ConfigNode configNode, System.String key, T defaultValue) [0x00012] in <acc2bf57e11343049fb13ac7a274d031>:0 
  at ContractConfigurator.Parameters.PartValidation.OnParameterLoad (ConfigNode node) [0x00079] in <acc2bf57e11343049fb13ac7a274d031>:0 
  at ContractConfigurator.Parameters.ContractConfiguratorParameter.OnLoad (ConfigNode node) [0x000be] in <acc2bf57e11343049fb13ac7a274d031>:0 

Some more details here from the log. Looks like some 'BioCapsule' is missing?

[EXC 12:50:44.239] ArgumentException: 'BioCapsule' is not a valid Part.
	ContractConfigurator.ConfigNodeUtil.ParsePartValue (System.String partName) (at <acc2bf57e11343049fb13ac7a274d031>:0)
	ContractConfigurator.ConfigNodeUtil.ParseSingleValue[T] (System.String key, System.String stringValue, System.Boolean allowExpression) (at <acc2bf57e11343049fb13ac7a274d031>:0)
	System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
	Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
	System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
	System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
	ContractConfigurator.ConfigNodeUtil.ParseValue[T] (ConfigNode configNode, System.String key, System.Boolean allowExpression) (at <acc2bf57e11343049fb13ac7a274d031>:0)
	ContractConfigurator.ConfigNodeUtil.ParseValue[T] (ConfigNode configNode, System.String key, T defaultValue) (at <acc2bf57e11343049fb13ac7a274d031>:0)
	ContractConfigurator.Parameters.PartValidation.OnParameterLoad (ConfigNode node) (at <acc2bf57e11343049fb13ac7a274d031>:0)
	ContractConfigurator.Parameters.ContractConfiguratorParameter.OnLoad (ConfigNode node) (at <acc2bf57e11343049fb13ac7a274d031>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:LogException(Exception)
	ContractConfigurator.LoggingUtil:LogException(Exception)
	ContractConfigurator.Parameters.ContractConfiguratorParameter:OnLoad(ConfigNode)
	Contracts.ContractParameter:Load(ConfigNode)
	Contracts.ContractParameter:Load(ConfigNode)
	Contracts.Contract:Load(Contract, ConfigNode)
	ContractConfigurator.ContractPreLoader:OnLoad(ConfigNode)
	ScenarioModule:Load(ConfigNode)
	ScenarioRunner:AddModule(ConfigNode)
	ProtoScenarioModule:Load(ScenarioRunner)
	ScenarioRunner:LoadModules(List`1)
	ScenarioRunner:SetProtoModules(List`1)
	Game:Load()
	<Start>d__4:MoveNext()
	UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

If I can find out where that part was I'll try and backdate it.

@jrossignol
Copy link
Owner

jrossignol commented Aug 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants