Closed StormCircuit closed 1 year ago
Added MM configcache to logs section
@StormCircuit well there are three basic levels of log errors (you probably know this) for KSP - from least to worst - [WRN, [ERR, and [EXC
your log is showing 214 EXC that may or may not be related to this issue.
Query: does this happen in space where there is no gravity? (If I find the time I will test as well)
examples of EXC:
[EXC 15:51:17.069] Exception: Terminating stock loader coroutine, this is intended and not an error
KSPCommunityFixes.Performance.KSPCFFastLoader.GameDatabase_SetupMainLoaders_Prefix () (at <3a1e5be8c8bf4d7cb62e9bf5397ce391>:0)
(wrapper dynamic-method) GameDatabase.GameDatabase.SetupMainLoaders_Patch1(GameDatabase)
GameDatabase+<LoadObjects>d__90.MoveNext () (at <4b449f2841f84227adfaad3149c8fdba>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <12e76cd50cc64cf19e759e981cb725af>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
<CreateDatabase>d__71:MoveNext()
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
GameDatabase:StartLoad()
<LoadSystems>d__11:MoveNext()
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
LoadingScreen:Start()
[WRN 15:52:29.728] DragCubeSystem: Part 'SXTAlouetteI' has more than two IMultipleDragCube part modules. You should consider procedural drag cubes.
[LOG 15:52:29.729] DragCubeSystem: Creating drag cubes for part 'SXTAlouetteI'
[EXC 15:52:29.730] NullReferenceException: Object reference not set to an instance of an object
ModuleDeployablePart.AssumeDragCubePosition (System.String name) (at <4b449f2841f84227adfaad3149c8fdba>:0)
(wrapper dynamic-method) DragCubeSystem+<RenderDragCubes>d__34.DragCubeSystem+<RenderDragCubes>d__34.MoveNext_Patch0(DragCubeSystem/<RenderDragCubes>d__34)
KSPCommunityFixes.Performance.KSPCFFastLoader+<FrameUnlockedCoroutine>d__61.MoveNext () (at <3a1e5be8c8bf4d7cb62e9bf5397ce391>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
KSPCommunityFixes.Performance.<FrameUnlockedCoroutine>d__61:MoveNext()
KSPCommunityFixes.Performance.<PartLoader_CompileAll>d__57:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
the lines leading up to the log entry often pin-point the causation:
[LOG 16:00:54.407] [ParallaxScatter] Processing a scene change from MAINMENU to SPACECENTER
[LOG 16:00:54.408] Scene change: MAINMENU -> SPACECENTER
[LOG 16:00:54.408] [ParallaxScatter] Scene change logged, awaiting planet change before starting scatters...
[EXC 16:00:55.461] NullReferenceException
UnityEngine.Component.GetComponent[T] () (at <12e76cd50cc64cf19e759e981cb725af>:0)
scatterer.SkyNode.Cleanup () (at <684aa87c0d2345f8a9e4739403f4afff>:0)
scatterer.ProlandManager.OnDestroy () (at <684aa87c0d2345f8a9e4739403f4afff>:0)
scatterer.ScattererCelestialBodiesManager.Cleanup () (at <684aa87c0d2345f8a9e4739403f4afff>:0)
scatterer.Scatterer.OnDestroy () (at <684aa87c0d2345f8a9e4739403f4afff>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[LOG 16:01:09.797] [CustomConfigsManager] Setting modded tech tree as the active one
[EXC 16:01:09.798] MissingMethodException: System.Collections.IEnumerator PartModuleList.GetEnumerator()
SpaceRace.PartUpgrader.Start () (at <0a10f6e2d87c4faa9584b3a406319564>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[EXC 16:01:38.455] NullReferenceException: Object reference not set to an instance of an object
scatterer.ShadowMapCopy.get_RenderTexture () (at <684aa87c0d2345f8a9e4739403f4afff>:0)
scatterer.ShadowMapCopier.CreateTextureCopyCB () (at <684aa87c0d2345f8a9e4739403f4afff>:0)
scatterer.ShadowMapCopier+<DelayedRecreateForSceneChange>d__12.MoveNext () (at <684aa87c0d2345f8a9e4739403f4afff>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <12e76cd50cc64cf19e759e981cb725af>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[LOG 16:04:46.094] Create button for module Vessel Info [EXC 16:04:46.110] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0) kOS.Screen.Interpreter.IsWaitingForCommand () (at <3ccb18ebae2a49929054690a1a176760>:0) kOS.Screen.TermWindow.ProcessUnconsumedInput () (at <3ccb18ebae2a49929054690a1a176760>:0) kOS.Screen.TermWindow.Update () (at <3ccb18ebae2a49929054690a1a176760>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[EXC 16:04:46.228] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
kOS.Screen.Interpreter.IsWaitingForCommand () (at <3ccb18ebae2a49929054690a1a176760>:0)
kOS.Screen.TermWindow.ProcessUnconsumedInput () (at <3ccb18ebae2a49929054690a1a176760>:0)
kOS.Screen.TermWindow.Update () (at <3ccb18ebae2a49929054690a1a176760>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(
[EXC 16:04:51.265] ArgumentException: An item with the same key has already been added. Key: bc8e3042
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <9577ac7a62ef43179789031239ba8798>:0)
JanitorsCloset.JanitorsCloset.addToHiddenBlockList (KSP.UI.Screens.ApplicationLauncherButton selectedButton, JanitorsCloset.Blocktype btype) (at <b923cf88b9a04cd182c1d4b0a0fe8dbb>:0)
JanitorsCloset.ToolbarIconEvents+InstallToolIconEvents.CheckToolbarButtons () (at <b923cf88b9a04cd182c1d4b0a0fe8dbb>:0)
JanitorsCloset.ToolbarIconEvents+InstallToolIconEvents.FixedUpdate () (at <b923cf88b9a04cd182c1d4b0a0fe8dbb>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
NOTE: just because a certain mod creates a EXCeption log entry doesn't make it the culprit - hence why I say 'symptom or cause'
CommunityFixes,Scatterer, kOS, Parallax, B9PartSwitch, and Janitor's Closet seem to either be the symptom or cause of the 214 EXC in the log.
372 errors reported in KSP.log
possible multiple installations of Scatterer
[ERR 16:06:25.139] [Scatterer][Error] Destroying duplicate instance, check your install for duplicate scatterer folders, or nested GameData folders
[ERR 15:51:08.264] ADDON BINDER: Cannot resolve assembly: AtmosphereAutopilot.UI, Culture=neutral, PublicKeyToken=null
[ERR 16:06:16.739] Input is null for field 'agent' in config node 'CONTRACT'
at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
at KSPCommunityFixes.Performance.ConfigNodePerf.ConfigNode_AddValue2_Prefix (ConfigNode __instance, System.String name, System.String value) [0x00000] in <3a1e5be8c8bf4d7cb62e9bf5397ce391>:0
at ConfigNode.ConfigNode.AddValue_Patch1 (ConfigNode , System.String , System.String ) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at Contracts.Contract.Save (ConfigNode node) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at Contracts.ContractSystem.OnSave (ConfigNode gameNode) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at ScenarioModule.Save (ConfigNode node) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at ProtoScenarioModule..ctor (ScenarioModule module) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at ScenarioRunner.UpdateModules () [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at ScenarioRunner.GetUpdatedProtoModules () [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at Game.Updated (GameScenes startSceneOverride) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode, GameScenes startScene) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode) [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at FlightLogger+<waitAndEndFlight>d__56.MoveNext () [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <12e76cd50cc64cf19e759e981cb725af>:0
[WRN 16:06:25.684] [R&D]: No Experiment definition found with id CactEyePlanetary
[ERR 16:06:25.692] [ScienceSubject] - Error in converting Situation InSpaceLow_System.ArgumentException: Requested value 'InSpaceLow_' was not found.
at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <9577ac7a62ef43179789031239ba8798>:0
at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x0017a] in <9577ac7a62ef43179789031239ba8798>:0
at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <9577ac7a62ef43179789031239ba8798>:0
at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
at ScienceUtil.GenerateLocalizedTitle (System.String id, System.Boolean skipAsteroidsComets) [0x0019e] in <4b449f2841f84227adfaad3149c8fdba>:0
https://www.twitch.tv/videos/1724272738
you can watch the entire test on that link (will also be on YouTube)
No issues found, seemingly worked flawlessly.
Brief description of your issue (aka the problem)
Centrifuges from SSPX (and many inflateable parts not just in SSPX, really) cause explosions when craft is constructed.
Operating system
Windows 10/11 (upgraded, still having issue)
KSP version
1.12.5
Version of addon
4.0.99.33-prerelease
Steps to reproduce the behavior or issue
Make a vessel, I managed to reproduce with just a centrifuge, some command modules, and launch clamps.
Expected behavior
For the craft to build radially from the docking port
Actual behavior
Well, The centrifuge is fine but the parts connecting it almost always above it then see a penny on the ground and throw themselves into it trying to get it. They throw themselves a little too hard and instead of getting the penny they eat dirt explosively. The vehicle is now decapitated and is just some engines hanging out.
If you turn on unbreakable joints it turns into a super merry-go-round where the centrifuge swings its self wildly in a circle around the vehicle.
Environment
Log files
KSP.log UPDATE: added MM config: ModuleManager.ConfigCache.txt
Screenshots
From start to finish, here is what happens: https://imgur.com/a/Itg2fTl
Additional context
Happens across all versions of Launchpad.dll (EPL and SCON versions).
How did you download and install this?
CurseForge (download and manual installation)