SSTU - Shadow Space Technologies Unlimited

SSTU - Shadow Space Technologies Unlimited

98.5k Downloads

MUS almost crashes editor

taterkerman opened this issue ยท 7 comments

commented

KSP.log.zip
Stick a MUS to something. Add Solar and RCS. Try to attach an engine. The node on bottom disappears, and the engine goes transparent. Can't select it. Then select the MUS, it disconnects from the capsule, then goes transparent.

It didn't crash, but here's the log, anyway.

commented

I should add I was trying to make an alternate SM for Soyuz. I need to test with an alternate capsule.

commented

Interesting; issue appears to be with the MUS, but only -after- the engine is added...

[LOG 00:11:18.769] SSTU-SC-ENG-Merlin-1BV added to ship - part count: 4
[EXC 00:11:18.772] NullReferenceException
	UnityEngine.Transform.get_localRotation ()
	SSTUTools.SolarPivotData.getPersistentData ()
	SSTUTools.PanelData.getPersistentData ()
	SSTUTools.SolarModule.updateSolarPersistence ()
	SSTUTools.SSTUModularPart.OnSave (.ConfigNode node)
	PartModule.Save (.ConfigNode node)
	ShipConstruct.SaveShip ()
	ShipConstruction.CreateBackup (.ShipConstruct ship)
	EditorLogic.SetBackup ()
	EditorLogic.<SetupFSM>m__27 ()
	KerbalFSM.RunEvent (.KFSMEvent evt)
	KerbalFSM.updateFSM (KFSMUpdateMode mode)
	KerbalFSM.UpdateFSM ()
	EditorLogic.Update ()
[EXC 00:11:22.471] NullRefer
commented

What was the configuration of the MUS when you were attempting this? Did it have solar panels selected, or using the default 'no panels' option?

commented

I know I tried solar panels at some point, so it certainly happens with panels. I will systematically try this tonight and let you know.

And yes, it l;ooks fine, then when I add the engine, poof, the node disappears.

commented

Anything but the default Solar Layout seems to trigger it.

commented

Can duplicate with a bit of back-and-forth; trying to figure out the exact cause/steps now -- seems to be specifically related to the 'solar panel layout' option, and not necessarily the 'model' (and doesn't impact RCS AFAIK).

Hopefully should have this one cleaned up shortly, soon as I can figure out precisely where it is exploding.

commented

Fixed in dev; will be available with the next release.