Jump to content

NullReferenceException everywhere!


Recommended Posts

I have no idea how to track down what mod is causing the issue... I have the latest version of every mod on this list (I admit, it's a huge list). It looks like this is looking for a part or something that doesn't exist anymore. This stuff starts happening as soon as the tracking station or any craft at all has anything to do with the game. The KSC screen is about the only place this isn't a problem.

Spoiler

NullReferenceException: Object reference not set to an instance of an object
  at Vessel.GetUnloadedVesselMass () [0x00000] in <filename unknown>:0
  at Vessel.GetTotalMass () [0x00000] in <filename unknown>:0
  at Vessel.CalculatePhysicsStats () [0x00000] in <filename unknown>:0
  at Vessel.FixedUpdate () [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)

How do I track down what's doing it and fix it? My LOG FILE HERE.

Thank you 100X in advance to anyone that is able to assist. I don't know anywhere near enough about this stuff to track it down, and this error over and over again tells next to no information.

Link to comment
Share on other sites

20 minutes ago, charliepryor said:

I have no idea how to track down what mod is causing the issue... I have the latest version of every mod on this list (I admit, it's a huge list). It looks like this is looking for a part or something that doesn't exist anymore. This stuff starts happening as soon as the tracking station or any craft at all has anything to do with the game. The KSC screen is about the only place this isn't a problem.

  Reveal hidden contents

NullReferenceException: Object reference not set to an instance of an object
  at Vessel.GetUnloadedVesselMass () [0x00000] in <filename unknown>:0
  at Vessel.GetTotalMass () [0x00000] in <filename unknown>:0
  at Vessel.CalculatePhysicsStats () [0x00000] in <filename unknown>:0
  at Vessel.FixedUpdate () [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)

How do I track down what's doing it and fix it? My LOG FILE HERE.

Thank you 100X in advance to anyone that is able to assist. I don't know anywhere near enough about this stuff to track it down, and this error over and over again tells next to no information.

Yep, half-correct it is looking for a Resource that does not exist any more that is in one of your vessels. You removed a mod?
I have seen this bug before and reported it. It's a known bug that I believe is going to be fixed.
It's not a part that is missing but a vessel that has an old resource defined to it that you have since removed a mod that had defined that resource.
Unfortunately nothing in the log tells you what this resource is. And looking at your vessels you will be unable to find it. The only way to find it is to go through your save file looking at defined resources on each vessel in flight and cross-checking against resources defined in stock and your installed mods.
Failing that the easiest thing to do is to recovery or destroy all your vessels and it will go away. or track down and re-install the missing resource definition.

Edited by JPLRepo
Link to comment
Share on other sites

4 hours ago, JPLRepo said:

Yep, half-correct it is looking for a Resource that does not exist any more that is in one of your vessels. You removed a mod?
I have seen this bug before and reported it. It's a known bug that I believe is going to be fixed.
It's not a part that is missing but a vessel that has an old resource defined to it that you have since removed a mod that had defined that resource.
Unfortunately nothing in the log tells you what this resource is. And looking at your vessels you will be unable to find it. The only way to find it is to go through your save file looking at defined resources on each vessel in flight and cross-checking against resources defined in stock and your installed mods.
Failing that the easiest thing to do is to recovery or destroy all your vessels and it will go away. or track down and re-install the missing resource definition.

Only mod I deleted was RCS Build Aid, because I thought that might have caused it. I did, however, update several mods, including Ven's stock revamp, which messed up the solar panels. I think they changed something in there... perhaps the resources comes from that. It's managed by Sqaud Staff though, so it makes me doubt it's that. I suppose I'll need to look into crafts and stuff, and see if I can't find out which one it is.... and then crash it into the mun or something.

Link to comment
Share on other sites

Yup. It will be a resource that was available when you built/launched the craft. That is now no longer in your install. You can only find it in the save file through some hard looking and cross-checking with the resource definitions for everything when loaded up. Or, yeah, crash them into the mun one by one until it's fixed, back-up your save each time until you find it.

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