Kerbal Attachment System (KAS)

Kerbal Attachment System (KAS)

2M Downloads

KSP 1.11: Breaks the Asteroid Redirect Training Mission

Kiefy opened this issue ยท 4 comments

commented

When this mod (and only this mod) is installed on 1.11.2, you cannot start the training mission: Asteroid Redirect, Part 1.

Instead of loading the mission, the menu in the background becomes active (whilst the Training window is still open) and you can now click through the window to select options on the menu.

Other missions appear to work fine. at least the asteroid redirect part 2 and the few missions previous.

commented

In the new version it should not be an issue.

commented

Could you please add screenshots and logs?

commented

Sorry.

Screenshots of a button doing nothing probably isn't very helpful, but you'll notice that before clicking the "Start" button, the menu options in the background are a dark yellow (unclickable), and after clicking Start, the screen blinks and the background menu becomes active (clickable):
Before & After

Installed through CKAN
CKAN

I did a complete wipe of the install & started fresh to be sure there wasn't some leftovers in GameData.

Launched the game, attempted to start the mission, exited game.

Here's the full log if you need it, but I think this might be what you're after:

[EXC 16:01:26.382] InvalidOperationException: PART
{
	name = PotatoRoid
	uid = 1920673597
	mid = 1920673597
	parent = 0
	position = 0,0,0
	rotation = 0,0,0,1
	mirror = 1,1,1
	istg = 0
	dstg = 0
	sqor = 0
	sidx = 0
	attm = 0
	srfN = None, -1
	mass = 150
	temp = 0
	expt = 0.1
	state = 1
	connected = True
	attached = True
	flag = 
	rTrf = 
}
 part cid
	KSPDev.ProcessingUtils.Preconditions.NotNull (System.Object arg, System.String message, System.Object context) (at <cf1234787afb4e62ad222e28369dcac3>:0)
	KSPDev.ProcessingUtils.Preconditions.NotNullOrEmpty (System.String arg, System.String message, System.Object context) (at <cf1234787afb4e62ad222e28369dcac3>:0)
	KSPDev.ConfigUtils.PartNodePatcher.GetPartId (ConfigNode node, SaveUpgradePipeline.LoadContext loadContext) (at <cf1234787afb4e62ad222e28369dcac3>:0)
	KSPDev.ConfigUtils.PartNodePatcher.GetPartNameFromUpgradeNode (ConfigNode node, SaveUpgradePipeline.LoadContext loadContext) (at <cf1234787afb4e62ad222e28369dcac3>:0)
	SaveUpgradePipeline.KAS.PatchFilesProcessor.OnTest (ConfigNode node, SaveUpgradePipeline.LoadContext loadContext, System.String& nodeName) (at <3e0c98dee66440f294dd10cd38ea0b07>:0)
	SaveUpgradePipeline.UpgradeScript+<>c__DisplayClass16_0.<Test>b__0 (ConfigNode node, ConfigNode parent) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.UpgradeScript.RecurseNodes (ConfigNode node, System.String[] urlNodes, System.Int32 level, Callback`2[T,U] cb, ConfigNode parent) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.UpgradeScript.RecurseNodes (ConfigNode node, System.String[] urlNodes, System.Int32 level, Callback`2[T,U] cb, ConfigNode parent) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.UpgradeScript.RecurseNodes (ConfigNode node, System.String[] urlNodes, System.Int32 level, Callback`2[T,U] cb, ConfigNode parent) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.UpgradeScript.RecurseNodes (ConfigNode node, System.String[] urlNodes, System.Int32 level, Callback`2[T,U] cb, ConfigNode parent) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.UpgradeScript.RecurseNodes (ConfigNode node, System.String[] urlNodes, System.Int32 level, Callback`2[T,U] cb, ConfigNode parent) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.UpgradeScript.Test (ConfigNode n, SaveUpgradePipeline.LoadContext loadContext) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.SaveUpgradePipeline.RunTest (SaveUpgradePipeline.UpgradeScript uSc, ConfigNode node, SaveUpgradePipeline.LoadContext loadContext) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.SaveUpgradePipeline.RunIteration (ConfigNode srcNode, ConfigNode& node, SaveUpgradePipeline.LoadContext ctx, System.Collections.Generic.List`1[T] scripts, System.Collections.Generic.List`1[T] log) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.SaveUpgradePipeline.Run (ConfigNode node, SaveUpgradePipeline.LoadContext ctx, System.Version AppVersion, System.Boolean& runSuccess, System.String& runInfo, System.Collections.Generic.List`1[System.Collections.Generic.Dictionary`2[SaveUpgradePipeline.UpgradeScript,SaveUpgradePipeline.LogEntry]]& log) (at <06f13185617646e5bc801baeab53ab75>:0)
	SaveUpgradePipeline.SaveUpgradePipeline.Run (ConfigNode node, SaveUpgradePipeline.LoadContext ctx, System.Version AppVersion, System.Boolean& runSuccess, System.String& runInfo) (at <06f13185617646e5bc801baeab53ab75>:0)
	KSPUpgradePipeline.Process (ConfigNode n, System.String saveName, SaveUpgradePipeline.LoadContext loadContext, Callback`1[T] onSucceed, Callback`2[T,U] onFail) (at <06f13185617646e5bc801baeab53ab75>:0)
	MainMenu.OnScenarioLoadDismiss (ScenarioLoadDialog+ScenarioSaveInfo save) (at <06f13185617646e5bc801baeab53ab75>:0)
	ScenarioLoadDialog.ConfirmLoadGame () (at <06f13185617646e5bc801baeab53ab75>:0)
	ScenarioLoadDialog.OnButtonLoad () (at <06f13185617646e5bc801baeab53ab75>:0)
	UnityEngine.Events.InvokableCall.Invoke () (at <5aeafee3fea24f37abd1315553f2cfa6>:0)
	UnityEngine.Events.UnityEvent.Invoke () (at <5aeafee3fea24f37abd1315553f2cfa6>:0)
	UnityEngine.UI.Button.Press () (at <8485d97123094db9883b53b3349c2a3b>:0)
	UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <8485d97123094db9883b53b3349c2a3b>:0)
	UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <8485d97123094db9883b53b3349c2a3b>:0)
	UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <8485d97123094db9883b53b3349c2a3b>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.EventSystems.EventSystem:Update()
commented

Thank you very much for the details. I was able to reproduce the issue.