Jump to content

1.8.1 NaN kraken "[Orbit] SolveClosestApproach: presolve took too many iterations, bailing UT"


Recommended Posts

With a new built vessel I trigger this NaN kraken as soon as I reach the altitude 70km.

Log and save and craft inside:
https://www.dropbox.com/s/df7rfvotzdj6h28/Player.log and stuff 2019-11-18-01.zip?dl=1

I found the phrase "SolveClosestApproach: presolve took too many iterations" with a search in all *.dll inside KSP in here:
Kerbal Space Program\KSP_x64_Data\Managed\Assembly-CSharp.dll

At the 70km altitude mark this is logged once:

An exception occurred: OverflowException

Then the kraken appears. First symptom is the loss of Commnet connection.

 

So I guess it's a stock bug - perhaps triggered by any mod.

Could be MechJeb, but this could also be the "screaming victim":

Stack Trace:
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at MuMech.PontryaginBase.Optimize (System.Double t0) [0x00117] in <edfd1e6ad2af415c95b10026ac8acb6a>:0

@sarbian is this somehow related to the fixes of MechJeb #910 ? I'm still on #909 and just recognized that there is an updated version...

One small info upgrade:
The upper stage uses an engine that runs on MP and got RCS as well.

I remember that there was an issue regarding engines-on-MP back then ...

Link to comment
Share on other sites

Another update:
New game session, this time MechJeb dev #910.

Loading the vessel (on launchpad) this happens (and already happened in the last session with that issue):
@linuxgurugamer

Uploading Crash Report
KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at AntennaHelper.AHFlight.SetActiveConnect () [0x001b0] in <92aa44fadf27421bb462617b828474c3>:0 
  at AntennaHelper.AHFlight+<StartSecond>c__Iterator0.MoveNext () [0x00132] in <92aa44fadf27421bb462617b828474c3>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5aeafee3fea24f37abd1315553f2cfa6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
 
(Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0)

KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at AntennaHelper.AHFlight.SetActiveConnect () [0x001b0] in <92aa44fadf27421bb462617b828474c3>:0 
  at AntennaHelper.AHFlight+<StartSecond>c__Iterator0.MoveNext () [0x00132] in <92aa44fadf27421bb462617b828474c3>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5aeafee3fea24f37abd1315553f2cfa6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
 
(Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0)

I will launch the vessel now and if the kraken appears again, I will try again without AntennaHelper.

Link to comment
Share on other sites

It happened again.

I spammed the F1 key to get a screenshot of the NaN kraken before the connection disappears.

Now also Kerbalism is under investigation (screaming victim or not?):
SvCdwfM.jpg
(there was one random Kerbalism part failure on a seperator solid fuel engine but that has nothing to do with the issue, it just happens on this reproduction session with the same save as the previous tests)
@Sir Mortimer @Gotmachine

So, I still need to try again without AntennaHelper... brb

Link to comment
Share on other sites

57 minutes ago, Gordon Dry said:

With a new built vessel I trigger this NaN kraken as soon as I reach the altitude 70km.

Log and save and craft inside:
https://www.dropbox.com/s/df7rfvotzdj6h28/Player.log and stuff 2019-11-18-01.zip?dl=1

I found the phrase "SolveClosestApproach: presolve took too many iterations" with a search in all *.dll inside KSP in here:
Kerbal Space Program\KSP_x64_Data\Managed\Assembly-CSharp.dll

At the 70

What is FNPlugin.FNHabitat?   It had the first exception that I saw in the log

Link to comment
Share on other sites

Kerbalism data with NaN sizes can definitely cause major issues because that will propagate to NaN part masses, causing a large portion of KSP and other mods to freak out.
This said, not sure the original NaN is from Kerbalism, could be a NaN in commnet variables introduced by another mod.
This is hard to troubleshoot unless we can reproduce in a debugger-enabled environnement.

Link to comment
Share on other sites

Still on the launchpad but I have the strong suspicion it will happen again, because the log is already spammed with

[Orbit] SolveClosestApproach: presolve took too many iterations, bailing UT:6295543.6588158 MinUT:6295414.49680098 MaxUT:6295968.34206293

^ the numbers vary each time it's logged, so about more than 20x per second ...

@Gotmachine could this even be triggered by an unloaded vessel in Kerbalism?

2 minutes ago, linuxgurugamer said:

What is FNPlugin.FNHabitat?   It had the first exception that I saw in the log

That is from KSP-IE, @FreeThinker

Link to comment
Share on other sites

Try disabling vessel transmission in the kerbalism automation, and see what happen.

Edit : any mod related to commnet / antennas ?

But as soon as you have NaN in anything related to science / data in kerbalism, bad things will happen (due to that causing NaN masses)

Edited by Gotmachine
Link to comment
Share on other sites

@linuxgurugamer
I actually do not use any part from KSP-IE btw.

@Gotmachine I use the following mods related to Commnet - never had an issue with them (before this) since I started with KSP 1.8.1 two weeks ago:

AntennaHelper (actually NOT installed to troubleshoot)
CommNetAntennasInfo
CommNetConstellation

 

@Gotmachine same happening with disabled transmission in Kerbalism automation.

Still got these "misleading" last lines in the KSP.log:

[LOG 22:17:32.515] Trajectories: Initializing cache
[LOG 22:17:37.338] An exception occurred: OverflowException
[LOG 22:17:37.338] Message: 
[LOG 22:17:37.338] Stack Trace:
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at MuMech.PontryaginBase.Optimize (System.Double t0) [0x00117] in <3ddb09b54c5e42379c1671957c9d0f6f>:0 

But as I already tested it without Trajecories and the same happened it has to be something else.

Now the last resort would be to troubleshoot MechJeb, but I suspect that it's also just the screaming victim... @sarbian

This overflow exception already happens (and is shown in MechJeb UI) before the 70km altitude mark is reached, at about 45 km I would say.

Edited by Gordon Dry
Link to comment
Share on other sites

Commnet constellation is doing a lot of custom stuff with commnet, I would say it's a likely suspect. If it somehow set a value in commnet to NaN at some point, that will cause kerbalism to have NaN data, causing NaN part masses, causing everything to crash.

It's useless to uninstall mods that give exceptions after this is happening, as I said once you are past the point where some NaN is introduced, everything will crash because of that.

Edited by Gotmachine
Link to comment
Share on other sites

@Gotmachine okay, next try without it - and AntennaHelper put back in.

The actual vessel got 4x direct antennas and 4x relay antennas (the small bluedog_telstarAntenna).
Also it got multiple ModuleCommand, because there is the main lander core, a return capsule core and this small CoatlAerospace MonoPropellant engine with built-in ModuleCommand (yes, ineed, it's meant for having the center of thrust at the ModuleCommand when landing).

Perhaps I just made the signal relaying through the antenna nearby and this multiple times? So Kerbalism just goes kraken?

Link to comment
Share on other sites

@Gotmachine so, this spamming also occurs as I load the vessel on the launch pad without CommNetConstellation being installed:

SolveClosestApproach: presolve took too many iterations, bailing UT .... etc.pp.

And this is still the first sign of the kraken will be coming soon.

Now I will try to edit the craft in some way...

Link to comment
Share on other sites

I removed ullage solid fuel engines on 2nd stage and placed retro solid fuel engines on 1st stage ...

And now I see clear:

@CobaltWolf @sarbian

MechJeb says
Z6sql4N.jpg
which is

[MechJebModuleLogicalStageTracking] adding a new stage: 1
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

An exception occurred: OverflowException
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Message: 
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Stack Trace:
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at MuMech.PontryaginBase.Optimize (System.Double t0) [0x00117] in <3ddb09b54c5e42379c1671957c9d0f6f>:0 
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)


This happens after staging the stage with this engine:
jqijDsT.jpg
Bluedog_DB/Parts/Titan/bluedog_LR91_3.cfg
which contains 2x ModuleEnginesFX - one time thrustTransform and one time vernierTransform.

As it seems only the vernierTransform is active. The main engine is not. This explains why MechJeb says "Thrust is off by -90.5%"

And it also says "Thrust: 0.0 kN" for the thrustTransform in above PAW.
Just look at the plume:
16r62vr.jpg

Excerpt from the ModuleManager.ConfigCache:

UrlConfig
{
	parentUrl = Bluedog_DB/Parts/Titan/bluedog_LR91_3.cfg
	PART
	{
		name = bluedog_LR91_3
		module = Part
		author = CobaltWolf & Jso
		scale = 1
		rescaleFactor = 1
		node_stack_top = 0.0, 0.6656, 0.0, 0.0, 1.0, 0.0, 2
		node_stack_bottom = 0.0, -1.5111, 0.0, 0.0, -1.0, 0.0, 2
		node_stack_1p875 = 0.0, 0.095762, 0.0, 0.0, -1.0, 0.0, 2
		node_stack_1p5 = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 2
		TechRequired = generalRocketry
		entryCost = 3800
		cost = 950
		category = Engine
		subcategory = 0
		title = LR91-AJ3
		manufacturer = Aerojet
		description = Powerful 1.5m second stage engine for the Titan-I rocket. <color=yellow>Engine spool up delay 1.33s, shutdown delay 1s.</color>
		attachRules = 1,0,1,1,0
		mass = 0.63
		heatConductivity = 0.06
		skinInternalConductionMult = 4.0
		emissiveConstant = 0.8
		dragModelType = default
		maximum_drag = 0.2
		minimum_drag = 0.2
		angularDrag = 2
		crashTolerance = 7
		maxTemp = 2000
		bulkheadProfiles = size1p2
		breakingForce = 112
		breakingTorque = 112
		tags = ?sm68 lr91 aj3 titan prometheus i 1 engine 1875 1.875 1.5 15
		techtag = titan1
		MODEL
		{
			model = Bluedog_DB/Parts/Titan/bluedog_LR91_3
		}
		MODULE
		{
			name = ModuleEnginesFX
			thrustVectorTransformName = thrustTransform
			exhaustDamage = True
			ignitionThreshold = 0.1
			minThrust = 0
			maxThrust = 88.7
			heatProduction = 200
			EngineType = LiquidFuel
			useEngineResponseTime = true
			engineAccelerationSpeed = 10.3695051708216
			engineDecelerationSpeed = 10.8941808529724
			powerEffectName = Kerolox_UpperEagle
			useEngineResponseTime = True
			engineAccelerationSpeed = -0.7363314
			engineDecelerationSpeed = 0.7221816
			stagingEnableText = Engine: Enable Staging
			stagingDisableText = Engine: Disable Staging
			stagingToggleEnabledEditor = true
			PROPELLANT
			{
				name = LiquidFuel
				ratio = 0.9
				DrawGauge = True
			}
			PROPELLANT
			{
				name = Oxidizer
				ratio = 1.1
			}
			atmosphereCurve
			{
				key = 0 308
				key = 1 210
				key = 6 0.001
			}
		}
		MODULE
		{
			name = ModuleGimbal
			gimbalResponseSpeed = 15
			useGimbalResponseSpeed = true
			gimbalTransformName = gimbalTransform
			gimbalRange = 3.55
		}
		MODULE
		{
			name = ModuleEnginesFX
			thrustVectorTransformName = vernierTransform
			exhaustDamage = True
			ignitionThreshold = 0.1
			minThrust = 0
			maxThrust = 10
			heatProduction = 150
			EngineType = LiquidFuel
			powerEffectName = BDB_KeroloxVernier
			useEngineResponseTime = True
			engineAccelerationSpeed = 8.01024898034541
			engineDecelerationSpeed = 10.4531992656709
			stagingEnableText = Engine: Enable Staging
			stagingDisableText = Engine: Disable Staging
			stagingToggleEnabledEditor = true
			PROPELLANT
			{
				name = LiquidFuel
				ratio = 0.9
				DrawGauge = False
			}
			PROPELLANT
			{
				name = Oxidizer
				ratio = 1.1
			}
			atmosphereCurve
			{
				key = 0 308
				key = 1 210
				key = 7 0.001
			}
		}
		MODULE
		{
			name = ModuleGimbal
			gimbalResponseSpeed = 15
			useGimbalResponseSpeed = true
			gimbalTransformName = vernierGimbal
			gimbalRangeXN = 0
			gimbalRangeXP = 0
			gimbalRangeYN = 50
			gimbalRangeYP = 50
		}
		MODULE
		{
			name = ModuleJettison
			jettisonName = Fairing
			bottomNodeName = bottom
			isFairing = True
			jettisonedObjectMass = 0.1
			jettisonForce = 5
			jettisonDirection = 0 0 1
			stagingEnabled = False
		}
		MODULE
		{
			name = ModuleB9PartSwitch
			moduleID = meshSwitchShroud
			switcherDescription = Shroud
			affectDragCubes = False
			affectFARVoxels = False
			SUBTYPE
			{
				name = Titan 1
				transform = Titan1_Interstage
				transform = Shroud_1p5m
				node = 1p5
			}
			SUBTYPE
			{
				name = 1.5m
				transform = Fairing_1p5m
				transform = Shroud_1p5m
				node = 1p5
				NODE
				{
					name = bottom
					position = 0.0, -0.83143, 0.0
				}
			}
			SUBTYPE
			{
				name = 1.875m
				transform = Fairing_1p875m
				transform = Shroud_1p875m
				node = 1p875
				NODE
				{
					name = bottom
					position = 0.0, -0.83143, 0.0
				}
			}
		}
		MODULE
		{
			name = ModuleAlternator
			RESOURCE
			{
				name = ElectricCharge
				rate = 6.0
			}
		}
		MODULE
		{
			name = FXModuleLookAtConstraint
			CONSTRAINLOOKFX
			{
				targetName = Gimbal1_Lower
				rotatorsName = Gimbal1_Upper
			}
			CONSTRAINLOOKFX
			{
				targetName = Gimbal1_Upper
				rotatorsName = Gimbal1_Lower
			}
			CONSTRAINLOOKFX
			{
				targetName = Gimbal2_Lower
				rotatorsName = Gimbal2_Upper
			}
			CONSTRAINLOOKFX
			{
				targetName = Gimbal2_Upper
				rotatorsName = Gimbal2_Lower
			}
		}
		MODULE
		{
			name = FXModuleThrottleEffects
			fxModuleNames = heatColor
			responseSpeed = 1.0
			dependOnEngineState = True
			dependOnThrottle = True
		}
		MODULE
		{
			name = FXModuleThrottleEffects
			fxModuleNames = throttleColor
			responseSpeed = 1.0
			dependOnEngineState = True
			dependOnThrottle = True
		}
		MODULE
		{
			name = ModuleColorChanger
			moduleID = heatColor
			animRate = 0.025
			shaderProperty = _EmissiveColor
			excludedRenderer = innerGlow
			toggleInEditor = false
			toggleInFlight = false
			redCurve
			{
				key = 1 1 1 1
				key = 1 1 1 1
			}
			greenCurve
			{
				key = 0 0 1 1
				key = 1 1 1 1
			}
			blueCurve
			{
				key = 0 0 1 1
				key = 1 1 1 1
			}
			alphaCurve
			{
				key = 0 0 1 1
				key = 1 1 1 1
			}
		}
		MODULE
		{
			name = ModuleColorChanger
			moduleID = throttleColor
			animRate = 1
			shaderProperty = _TintColor
			includedRenderer = innerGlow
			toggleInEditor = false
			toggleInFlight = false
			redCurve
			{
				key = 0 0
				key = 1 1
			}
			greenCurve
			{
				key = 0 0
				key = 1 1
			}
			blueCurve
			{
				key = 0 0
				key = 1 1
			}
			alphaCurve
			{
				key = 0 0
				key = 1 1
			}
		}
		MODULE
		{
			name = ModuleSurfaceFX
			thrustProviderModuleIndex = 0
			fxMax = 0.5
			maxDistance = 30
			falloff = 1.7
			thrustTransformName = thrustTransform
		}
		RESOURCE
		{
			name = ElectricCharge
			amount = 0
			maxAmount = 0
			isTweakable = false
			hideFlow = true
		}
		MODULE
		{
			name = ModuleEngineGimbal
		}
		PLUME
		{
			name = Kerolox_UpperEagle
			transformName = thrustTransform
			localRotation = 0,0,0
			localPosition = 0,0,0
			emissionMult = 0.75
			alphaMult = 1
			energy = 1
			speed = 1
			blazePosition = 0,0,0
			blazeScale = 0.7
			plumePosition = 0,0,0.1
			plumeScale = 0.8
			flarePosition = 0,0,-0.1
			flareScale = 0.07
			fixedScale = 1
			saturationMult = 1
			coreScale = 1
			fumeScale = 1
			lampScale = 1
			plume2Scale = 1
			plume3Scale = 1
			smokeScale = 1
			shockScale = 1
			shockconeScale = 1
			slagScale = 1
			streamScale = 1
			corePosition = 0,0,0
			fumePosition = 0,0,0
			lampPosition = 0,0,0
			plume2Position = 0,0,0
			plume3Position = 0,0,0
			smokePosition = 0,0,0
			shockPosition = 0,0,0
			shockconePosition = 0,0,0
			slagPosition = 0,0,0
			streamPosition = 0,0,0
			plumeIdentifier = Kerolox_UpperEagle
			processed = true
		}
		PLUME
		{
			name = BDB_KeroloxVernier
			transformName = vernierTransform
			localRotation = 0,0,0
			localPosition = 0,0,0.05
			plumeScale = 0.2
			energy = 1
			speed = 1
			emissionMult = 1
			fixedScale = 1
			saturationMult = 1
			alphaMult = 1
			blazeScale = 1
			coreScale = 1
			flareScale = 1
			fumeScale = 1
			lampScale = 1
			plume2Scale = 1
			plume3Scale = 1
			smokeScale = 1
			shockScale = 1
			shockconeScale = 1
			slagScale = 1
			streamScale = 1
			blazePosition = 0,0,0.05
			corePosition = 0,0,0.05
			flarePosition = 0,0,0.05
			fumePosition = 0,0,0.05
			lampPosition = 0,0,0.05
			plumePosition = 0,0,0.05
			plume2Position = 0,0,0.05
			plume3Position = 0,0,0.05
			smokePosition = 0,0,0.05
			shockPosition = 0,0,0.05
			shockconePosition = 0,0,0.05
			slagPosition = 0,0,0.05
			streamPosition = 0,0,0.05
			plumeIdentifier = BDB_KeroloxVernier
		}
		MODULE
		{
			name = TweakScale
			type = BluedogStack
			defaultScale = 1.875
			TWEAKSCALEEXPONENTS
			{
				mass = 2.5
			}
		}
		MODULE
		{
			name = SensiblePumps
		}
		MODULE
		{
			isEnabled = True
			name = BuoyancyControl
			enabled = true
		}
		MODULE
		{
			name = EngineLightEffect
			enableEmissiveLight = true
			engineEmissiveMultiplier = 1.33
			jitterMultiplier = 0.1
			lightFadeCoefficient = 0.8
			lightPower = 1.0
			lightRange = 9.0
			multiplierOnIva = 0.5
			exhaustRed = 1
			exhaustGreen = 0.88
			exhaustBlue = 0.68
			emissiveRed = 0.6
			emissiveGreen = 0.0
			emissiveBlue = 0.0
			emissiveLogRed = 0.4
			emissiveLogGreen = 0.1
			emissiveLogBlue = 0.0
			emissiveQuadRed = 0.0
			emissiveQuadGreen = 0.5
			emissiveQuadBlue = 0.05
			lightOffsetX = 0.0
			lightOffsetY = 0.0
			emissiveOffsetZ = 0.0
			exhaustOffsetZ = 1.0
		}
		MODULE
		{
			name = GeometryPartModule
		}
		MODULE
		{
			name = FARAeroPartModule
		}
		MODULE
		{
			name = FARPartModule
		}
		MODULE
		{
			name = Reliability
			type = ModuleEngines
			title = Engine
			redundancy = Propulsion
			repair = true
			mtbf = 0
			extra_cost = 1.5
			extra_mass = 0.05
			turnon_failure_probability = 0.007
			rated_operation_duration = 350
			rated_ignitions = 1
		}
		EFFECTS
		{
			BDB_KeroloxVernier
			{
				MODEL_MULTI_SHURIKEN_PERSIST
				{
					transformName = vernierTransform
					localRotation = 0,0,0
					localPosition = 0,0,0.05
					fixedScale = 0.2
					energy = 1
					speed = 1
					emissionMult = 1
					name = blaze
					modelName = Bluedog_DB/FX/PlumeParty/Engines/Generic/keroEagleBlaze
					fixedEmissions = false
					sizeClamp = 50
					randomInitalVelocityOffsetMaxRadius = 0.2
					decluster = true
					emitOnUpdate = true
					xyForce = 0
					speed
					{
						density = 0.7 2
						density = 0.52 2
						density = 0.19 3
						density = 0.07 3
						density = 0.045 2
						density = 0.02 0.75
						power = 0.1      0.7
						power = 0.2  0.8
						power = 1.0   1.0
					}
					logGrow
					{
						density = 0.7 0
						density = 0.52 2
						density = 0.19 4
						density = 0.07 15
						density = 0.045 15
						density = 0.02 15
					}
					linGrow
					{
						density = 0.7 0
						density = 0.52 0
						density = 0.19 3
						density = 0.07 5
						density = 0.045 5
						density = 0.02 2
					}
					energy
					{
						density = 0.7 1
						density = 0.07 1
						density = 0.045 1
						density = 0.02 0.7
					}
					emission
					{
						density = 0.7 4
						density = 0.52 3
						density = 0.19 1
						density = 0.07 0.5
						density = 0.045 0.5
						density = 0.02 0.25
						power = 0.0      0
						power = 0.001     0.35
						power = 0.1     0.5
						power = 0.2 0.7
						power = 1.0  1.1
					}
				}
				MODEL_MULTI_SHURIKEN_PERSIST
				{
					transformName = vernierTransform
					localRotation = 0,0,0
					localPosition = 0,0,0.05
					fixedScale = 0.2
					energy = 1
					speed = 1
					emissionMult = 1
					name = stream
					modelName = Bluedog_DB/FX/PlumeParty/Engines/Generic/keroEagleStream
					fixedEmissions = false
					sizeClamp = 50
					randomInitalVelocityOffsetMaxRadius = 0.2
					xyForce = 0
					decluster = true
					emitOnUpdate = true
					offset = 0.2
					speed
					{
						density = 0.7 2
						density = 0.52 2
						density = 0.19 3
						density = 0.07 3
						density = 0.045 2
						density = 0.02 0.75
						power = 0.1      0.7
						power = 0.2  0.8
						power = 1.0   1.0
					}
					logGrow
					{
						density = 0.7 0
						density = 0.52 2
						density = 0.19 4
						density = 0.07 15
						density = 0.045 15
						density = 0.02 15
					}
					linGrow
					{
						density = 0.7 0
						density = 0.52 0
						density = 0.19 3
						density = 0.07 5
						density = 0.045 5
						density = 0.02 2
					}
					energy
					{
						density = 0.7 1
						density = 0.07 1
						density = 0.045 1
						density = 0.02 0.7
					}
					emission
					{
						density = 0.7 2
						density = 0.52 1.5
						density = 0.19 1
						density = 0.07 0.5
						density = 0.045 0.5
						density = 0.02 0.5
						density = 0.01 0
						power = 0.0      0
						power = 0.001     0.35
						power = 0.1     0.5
						power = 0.2 0.7
						power = 1.0  1.1
					}
					alphaMult
					{
						density = 0.07 1
						density = 0.02 0
					}
				}
				MODEL_MULTI_SHURIKEN_PERSIST
				{
					transformName = vernierTransform
					localRotation = 0,0,0
					localPosition = 0,0,0.05
					fixedScale = 1
					energy = 1
					speed = 1
					emissionMult = 1
					name = flare
					modelName = Bluedog_DB/FX/FX_New/keroVacVernier_flare
					emission = 0.0 0.0
					emission = 0.01 0.1
					emission = 1.0 1.0
					speed = 0.0 1.0
					speed = 1.0 1.0
					energy = 0.0 1.0
					energy = 1.0 1.0
					localPosition = 0,0,0
				}
				RSE_AUDIO
				{
					name = running
					channel = Ship
					clip = RocketSoundEnhancement/Sounds/sound_lqd_light
					rolloffMode = Linear
					maxDistance = 5000
					lowpass = 0 1 -130.8109 -130.8109
					lowpass = 0.016 0.256 -5.289068 -5.289068
					lowpass = 0.064 0.128 -1.238469 -1.238469
					lowpass = 0.256 0.064 -0.15625 0
					lowpass = 1 0.064
					volume = 0.0 0.0
					volume = 0.01 0.47175
					pitch = 0.0 0.5
					pitch = 1.0 1.0
					loop = true
				}
			}
			engage
			{
				AUDIO
				{
					channel = Ship
					clip = sound_vent_medium
					volume = 0.54435
					pitch = 1.0
					loop = false
				}
			}
			disengage
			{
				AUDIO
				{
					channel = Ship
					clip = sound_vent_soft
					volume = 0.54435
					pitch = 1.0
					loop = false
				}
			}
			flameout
			{
				AUDIO
				{
					channel = Ship
					clip = sound_explosion_low
					volume = 0.54435
					pitch = 2.0
					loop = false
				}
			}
			Kerolox_UpperEagle
			{
				plumeIdentifier = Kerolox_UpperEagle
				MODEL_MULTI_SHURIKEN_PERSIST
				{
					transformName = thrustTransform
					localRotation = 0,0,0
					localPosition = 0,0,0
					fixedScale = 0.7
					energy = 1
					speed = 1
					emissionMult = 0.75
					alphaMult = 1
					saturationMult = 1
					name = Kerolox_UpperEagle-blaze
					modelName = RealPlume/Jade_FX/Engines/Generic/keroEagleBlaze
					fixedEmissions = false
					sizeClamp = 50
					randomInitalVelocityOffsetMaxRadius = 0.2
					decluster = true
					emitOnUpdate = true
					xyForce = 0
					speed
					{
						density = 0.7 1
						density = 0.52 1
						density = 0.19 1
						density = 0.07 1
						density = 0.045 0.8
						density = 0.02 0.75
						power = 0.1      0.7
						power = 0.2  0.8
						power = 1.0   1.0
					}
					logGrow
					{
						density = 0.7 0
						density = 0.52 2
						density = 0.19 4
						density = 0.07 15
						density = 0.045 15
						density = 0.02 15
					}
					linGrow
					{
						density = 0.7 0
						density = 0.52 0
						density = 0.19 3
						density = 0.07 5
						density = 0.045 5
						density = 0.02 10
					}
					energy
					{
						density = 0.7 1
						density = 0.07 1
						density = 0.045 1
						density = 0.02 0.7
					}
					emission
					{
						density = 0.7 0.5
						density = 0.52 0.5
						density = 0.19 0.5
						density = 0.07 0.5
						density = 0.045 0.5
						density = 0.02 0.25
						power = 0.0      0
						power = 0.001     0.35
						power = 0.1     0.5
						power = 0.2 0.7
						power = 1.0  1.1
					}
				}
				MODEL_MULTI_SHURIKEN_PERSIST
				{
					transformName = thrustTransform
					localRotation = 0,0,0
					localPosition = 0,0,0.1
					fixedScale = 0.8
					energy = 1
					speed = 1
					emissionMult = 0.75
					alphaMult = 1
					saturationMult = 1
					name = Kerolox_UpperEagle-plume
					modelName = RealPlume/Jade_FX/Engines/Generic/keroEagleStream
					fixedEmissions = false
					sizeClamp = 50
					randomInitalVelocityOffsetMaxRadius = 0.2
					xyForce = 0
					decluster = true
					emitOnUpdate = true
					speed
					{
						density = 0.7 1
						density = 0.52 1
						density = 0.19 1
						density = 0.07 0.7
						density = 0.045 0.8
						density = 0.02 0.75
						power = 0.1      0.7
						power = 0.2  0.8
						power = 1.0   1.0
					}
					logGrow
					{
						density = 0.7 0
						density = 0.52 2
						density = 0.19 4
						density = 0.07 15
						density = 0.045 15
						density = 0.02 15
					}
					linGrow
					{
						density = 0.7 0
						density = 0.52 0
						density = 0.19 3
						density = 0.07 5
						density = 0.045 5
						density = 0.02 2
					}
					energy
					{
						density = 0.7 1
						density = 0.07 1
						density = 0.045 1
						density = 0.02 0.7
					}
					emission
					{
						density = 0.7 0.8
						density = 0.52 0.5
						density = 0.19 0.5
						density = 0.07 0.25
						density = 0.045 0.25
						density = 0.02 0.2
						density = 0.0 0
						power = 0.0      0
						power = 0.001     0.35
						power = 0.1     0.5
						power = 0.2 0.7
						power = 1.0  1.1
					}
				}
				MODEL_MULTI_SHURIKEN_PERSIST
				{
					transformName = thrustTransform
					localRotation = 0,0,0
					localPosition = 0,0,-0.1
					fixedScale = 0.07
					emissionMult = 0.75
					name = Kerolox_UpperEagle-flare
					modelName = RealPlume/Jade_FX/Engines/BDB/F1Flare
					fixedEmissions = false
					randomInitalVelocityOffsetMaxRadius = 0.1
					speed = 0.5
					energy = 0.1
					size = 0.6
					xyForce = 0
					decluster = true
					emitOnUpdate = true
					emission
					{
						power = 0.0       0
						power = 0.001     0.5
						power = 0.1     0.7
						power = 0.2 1
						power = 1.0  1.5
					}
				}
				RSE_AUDIO
				{
					name = running
					channel = Ship
					clip = RocketSoundEnhancement/Sounds/sound_lqd_medium
					rolloffMode = Linear
					maxDistance = 10000
					lowpass = 0 1 -130.8109 -130.8109
					lowpass = 0.016 0.256 -5.289068 -5.289068
					lowpass = 0.064 0.128 -1.238469 -1.238469
					lowpass = 0.256 0.064 -0.15625 0
					lowpass = 1 0.064
					volume = 0.0 0.0
					volume = 0.1 0.54435
					pitch = 0.0 0.5
					pitch = 1.0 1.0
					loop = true
				}
			}
		}
		MODULE
		{
			name = ModuleB9PartInfo
		}
	}
}

 

I found this:

...
			engineAccelerationSpeed = 10.3695051708216
			engineDecelerationSpeed = 10.8941808529724
			powerEffectName = Kerolox_UpperEagle
			useEngineResponseTime = True
			engineAccelerationSpeed = -0.7363314
			engineDecelerationSpeed = 0.7221816

...

Allright ...

Edited by Gordon Dry
Link to comment
Share on other sites

MJ got no

OverflowException

at staging to the previously problematic engine anymore ...

But ...

At 70km MJ still gets it and the kraken occurs the same way as before ...

@Gotmachine

These NaN are all about science, like

							files
							{
								barometerScan@-16580607
								{
									size = NaN
									resultText = Collected and recorded atmospheric pressure data from the surroundings.
									useStockCrediting = False
								}
								kerbalism_LITE@-16515071
								{
									size = NaN
									resultText = LITE Data Acquired
									useStockCrediting = False
								}
								kerbalism_SITE@-16515071
								{
									size = 0
									resultText = SITE Data Acquired
									useStockCrediting = False
								}
							}

and all associated

...
				percentRetrieved = NaN
...
					remainingSampleMass = NaN
...

What could trigger this EXACTLY when leaving the atmosphere on launch?

(So I was looking for an issue and fixed one - and then recognized it has been two issues all the time)
See below, two issues fixed and one left, so a total of three - magic!

Edited by Gordon Dry
Link to comment
Share on other sites

This time the NaN kraken did not kick in - but MJ showed "thrust is off by -%INFINITE" for a few seconds as the atmosphere was left ...

And MJ still logs

[MechJebModuleLogicalStageTracking] adding a new stage: 1
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

An exception occurred: OverflowException
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Message: 
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Stack Trace:
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at MuMech.PontryaginBase.Optimize (System.Double t0) [0x00117] in <3ddb09b54c5e42379c1671957c9d0f6f>:0 
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

once when leaving atmosphere and shows that message in red in the UI all the time. @sarbian

What did I change?

@Gotmachine I reverted the changes from my test branch
https://github.com/Gordon-Dry/Kerbalism/tree/Bluedog_DB_science_rework
back to the latest release.

So one issue solved and still one issue left - with MJ - but this seems™ not to be game breaking.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...