{"action":"closed","issue":{"url":"https://api.github.com/repos/jrossignol/ContractConfigurator/issues/315","labels_url":"https://api.github.com/repos/jrossignol/ContractConfigurator/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/jrossignol/ContractConfigurator/issues/315/comments","events_url":"https://api.github.com/repos/jrossignol/ContractConfigurator/issues/315/events","html_url":"https://github.com/jrossignol/ContractConfigurator/issues/315","id":104941047,"number":315,"title":"Unhandled Exception on ContractConfigurator.Biome","user":{"login":"severedsolo","id":7370068,"avatar_url":"https://avatars.githubusercontent.com/u/7370068?v=3","gravatar_id":"","url":"https://api.github.com/users/severedsolo","html_url":"https://github.com/severedsolo","followers_url":"https://api.github.com/users/severedsolo/followers","following_url":"https://api.github.com/users/severedsolo/following{/other_user}","gists_url":"https://api.github.com/users/severedsolo/gists{/gist_id}","starred_url":"https://api.github.com/users/severedsolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/severedsolo/subscriptions","organizations_url":"https://api.github.com/users/severedsolo/orgs","repos_url":"https://api.github.com/users/severedsolo/repos","events_url":"https://api.github.com/users/severedsolo/events{/privacy}","received_events_url":"https://api.github.com/users/severedsolo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jrossignol/ContractConfigurator/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jrossignol/ContractConfigurator/milestones/50","html_url":"https://github.com/jrossignol/ContractConfigurator/milestones/1.7.3","labels_url":"https://api.github.com/repos/jrossignol/ContractConfigurator/milestones/50/labels","id":1276420,"number":50,"title":"1.7.3","description":"","creator":{"login":"jrossignol","id":8717685,"avatar_url":"https://avatars.githubusercontent.com/u/8717685?v=3","gravatar_id":"","url":"https://api.github.com/users/jrossignol","html_url":"https://github.com/jrossignol","followers_url":"https://api.github.com/users/jrossignol/followers","following_url":"https://api.github.com/users/jrossignol/following{/other_user}","gists_url":"https://api.github.com/users/jrossignol/gists{/gist_id}","starred_url":"https://api.github.com/users/jrossignol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrossignol/subscriptions","organizations_url":"https://api.github.com/users/jrossignol/orgs","repos_url":"https://api.github.com/users/jrossignol/repos","events_url":"https://api.github.com/users/jrossignol/events{/privacy}","received_events_url":"https://api.github.com/users/jrossignol/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2015-08-27T19:42:02Z","updated_at":"2015-09-04T21:12:54Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-04T18:14:27Z","updated_at":"2015-09-04T21:12:54Z","closed_at":"2015-09-04T21:12:54Z","body":"I didn't open an issue for the last one as I (rightly) thought it was probably me. This one however, I'm 99% certain is not me.\r\n\r\n```\r\nException occured while loading contract 'SurfaceSample':\r\nSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Value is not a convertible object: System.String to ContractConfigurator.Biome\r\n  at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0 \r\n  at System.String.System.IConvertible.ToType (System.Type targetType, IFormatProvider provider) [0x00000] in <filename unknown>:0 \r\n  at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0 \r\n  at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0 \r\n  at ContractConfigurator.ConfigNodeUtil.ParseSingleValue[Biome] (System.String key, System.String stringValue, Boolean allowExpression) [0x00000] in <filename unknown>:0 \r\n  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 \r\n  --- End of inner exception stack trace ---\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 \r\n  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 \r\n  at ContractConfigurator.ConfiguredContract.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 \r\n```\r\n\r\nContract: http://pastebin.com/SZQqmdzZ\r\nLogs:  https://www.dropbox.com/s/mpgy01ics7f4ja2/Logs.zip?dl=0\r\n\r\nFYI - Reproduction steps: Accept the contract, then move into the VAB. Actually, any scene change will do."}}