R-T-B / Kopernicus

Kopernicus is a mod for Kerbal Space Program which allows users to replace the planetary system used by the game.
GNU Lesser General Public License v3.0
32 stars 11 forks source link

launcher hangs on Sombrero solar panel [Kopernicus v1.10.0-1] [Pathfinder v1.35.1] [KSP v1.10.0] #11

Closed TheBeesElise closed 4 years ago

TheBeesElise commented 4 years ago

Not sure if this is an issue on Pathfinder's side or Kopernicus', but when both are present the launcher hangs on this part. Removing the part from its GameData path allows the game to launch successfully.

per KSP log:

PartLoader: Compiling Part 'WildBlueIndustries/Pathfinder/Parts/Utility/Sombrero/WBI_Sombrero'

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

PartLoader: Part 'WildBlueIndustries/Pathfinder/Parts/Utility/Sombrero/WBI_Sombrero' has no database record. Creating.

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

[DragCubeSystem]: Drag cubes not found or cannot be read for part Part. Generating New drag cubes.

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

DragCubeSystem: Creating drag cubes for part 'WBI.Sombrero'

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

Uploading Crash Report NullReferenceException: Object reference not set to an instance of an object at ModuleDeployablePart.AssumeDragCubePosition (System.String name) [0x00088] in :0 at DragCubeSystem+d__34.MoveNext () [0x001de] in :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: Line: 0)

R-T-B commented 4 years ago

Interesting. The crash report doesn't even return any Kopernicus lines, but you say it only occurs when both are installed? This may just be some weird stock 1.10 bug that only manifests itself if Kopernicus happens to mess with the ModularSolarPanel setup, which it does do for multibody tracking. But, I mean it does that for every solar panel.

That would make it more a bug with how Sombrero is setup in the mod logically, since other solar panels work with Kopernicus, I think. But not sure. It could be something we can fix, but I don't even know where I'd start given the limited data.

Leaving this open for now in case others with more knowledge can weigh in, but I am sort of doubtful the fault actually lies with Koperncius given the log. I'd reach out to the modpart author if possible and ask if they have any insight.

R-T-B commented 4 years ago

Upon further research and communication with actually knowledgable squad people, this is a stock bug and not an issue with Kopernicus, so closing. Thanks for checking in, anyways. 10.10.1 should fix.