MechJeb2

MechJeb2

4M Downloads

[2.0.8] Loading issue

moverperfect opened this issue ยท 8 comments

commented

After adding version 2.0.8, KSP gets stuck loading "mark3Cockpit" which I believe to be the last thing it loads before the MechJeb module.

commented

Look in the log file (on Windows it's in /KSP_Data/output_log.txt) and see what's going on towards the end, and if there are any error messages there that look related. If you want you can post the end of the log file to pastebin.com or something, and we'll have a look.

commented

I have exactly the same problem so maybe it's what you want. and thanks for the help

NullReferenceException: Object reference not set to an instance of an object
at RenderingManager.RemoveFromPostDrawQueue (Int32 queueSpot, .Callback drawFunction) [0x00000] in :0

at ISA_MapSat.onPartDestroy () [0x00000] in :0

at Part.OnDestroy () [0x00000] in :0

(Filename: Line: -1)

commented

I have this aswell.

Part: 'C:/Users/_/__/_******/KSP/KSP_Data../Parts\MechJeb2_AR202\part.cfg'

(Filename: C:/BuildAgent/work/812c4f5049264fad/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 43)

NullReferenceException: Object reference not set to an instance of an object
at PartLoader.ParsePartCfg (.ConfigNode node, Boolean isHeirarchyModel) [0x00000] in :0

at PartLoader.BuildHeirarchyModel (UnityEngine.GameObject mdl, Boolean partLabMode, .ConfigNode root) [0x00000] in :0

at PartLoader.LoadHeirarchyModel (System.String filePath, .ConfigNode root) [0x00000] in :0

at PartLoader.loadPartByPath (System.String partPath) [0x00000] in :0

at PartLoader.LoadNextPart () [0x00000] in :0

at PartLoader+
.MoveNext () [0x00000] in :0

(Filename: Line: -1)

commented

@moverperfect, that makes it look like KSP is having trouble reading the part.cfg file for the MJ part. I'd try deleting your current installation of MechJeb and then redownloading it from the forum thread; perhaps something has gotten messed up in your local copy.

@francislabbe, if that's the only error you have it looks like it's being thrown by the ISA Mapsat plugin and not by MJ, so perhaps ISA is causing your problem? In any case you might also try deleting and then redownloading MJ.

commented

ok thanks I know noting in that, so thanks again and I also have the same part as moverperfect

commented

It is still throwing the same error, even though it is a new copy.

commented

OK, looking more carefully at the error message I think the issue is probably that the installation procedure is different for 0.20. Delete the (KSP folder)\Parts\MechJeb2_AR202 folder, and delete (KSP folder)\Plugins\MechJeb2.dll. Then redownload MJ. Unzip the download in the (KSP folder)\GameData directory. The result should be the folder (KSP folder)\GameData\MechJeb2, which should contain both a Parts folder and a Plugins folder. Then restart KSP and see if it works.

commented

Thank you very much for your help. Works perfectly and i love this plugin.