Jump to content

[0.23.5] How do I find out what's causing NullReferenceException?


JawaSP

Recommended Posts

Im playing KSP often, and I like playing with mods, but every time I try to recover my Vessel or to go to Space Center, nothing happens. The button get's pressed down, and then goes up again as usual, but nothing happens! I know this is because of the NullReferenceException thingy, but I don't know how I can find out that is causing it in the output_log.txt!

Here is a copy of the "forever" repeating message:

NullReferenceException: Object reference not set to an instance of an object

at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in <filename unknown>:0

at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in <filename unknown>:0

at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in <filename unknown>:0

at ConfigNode.CopyTo (.ConfigNode node) [0x00000] in <filename unknown>:0

at ProtoScenarioModule.Save (.ConfigNode node) [0x00000] in <filename unknown>:0

at Game.Save (.ConfigNode rootNode) [0x00000] in <filename unknown>:0

at GamePersistence.SaveGame (.Game game, System.String saveFileName, System.String saveFolder, SaveMode saveMode) [0x00000] in <filename unknown>:0

at GamePersistence.SaveGame (System.String saveFileName, System.String saveFolder, SaveMode saveMode) [0x00000] in <filename unknown>:0

at VesselRecovery.onVesselRecoveryRequested (.Vessel v) [0x00000] in <filename unknown>:0

at EventData`1[Vessel].Fire (.Vessel data) [0x00000] in <filename unknown>:0

at VesselRecoveryButton.recoverVessel () [0x00000] in <filename unknown>:0

at ScreenSafeUIButton.OnMouseUp (Boolean rightClick) [0x00000] in <filename unknown>:0

at ScreenSafeUIButton.OnMouseUp () [0x00000] in <filename unknown>:0

at SSUICamera.DoMouseEvents () [0x00000] in <filename unknown>:0

at SSUICamera.Update () [0x00000] in <filename unknown>:0

​I know there is supposed to say which file that is causing it, but I can't see it in here!

Please help me with this! It happens all the time! Everytime I complete a mission in Career mod, and collect alot of important science, I can't recover it! It's driving me CrAaAaAaZy! :mad::(

Edited by JawaSP
Link to comment
Share on other sites

A list of all the mods you have installed would be helpful. What you're probably looking for is something that has an SSUICamera class, although it may not be that mods fault if it works by itself on a clean install.

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...