Jump to content

Weird recurring bug


Recommended Posts

hello everyone, I have some enigma of a bug. It seems like some of my vessels gets corrupted, no crash, but when I'm loading them from the tracking station or any another way I get these symptoms :

- My ship is missing some parts (one time, only my atomic engine was remaining and is was blasting flammes at the back)

- My nav ball is showing all the prograde retrograde and all nodes at the same place.

- I can't move or rotate the ship.

- I get this yellow [PartJoint]: None of the provided nodes was valid!" Warning, and red "NullReference Exception: Object not set to an instance of an object" "exeception" flooding my debug window, really flooding.

It happen when it's a ship in orbit around kerbin the mun and even at the space center with a rover.

On those ships I used some

Procedural parts,

remote tech antenna,

some KAS stuff,

... well the kind of things I use for all my ships

Thanks for the reading, sorry english is not my native language. I think the error has to be find in the log because my ksp is quite stable for all the mods that I have.

I play 0.24.2 32bits on Win7 with enough hardware to run 2 ksp without problem ( easy lol ).

My output_log is comming right away, as soon as I find a way to do so, and if you need some more information or if you want me to do some tests I'm ready to help you help me please thanks if that make any sense.

Here it is : https://www.dropbox.com/s/67652e9z9iafry0/output_log.7z?dl=0

Edited by Gone004
Link to comment
Share on other sites

Okay, it looks like a file is missing or in the wrong place.

AssemblyLoader: Exception loading 'TweakScale_ModularFuelTanks': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0

at AssemblyLoader.LoadAssemblies () [0x00000] in <filename unknown>:0

Additional information about this exception:

System.IO.FileNotFoundException: Could not load file or assembly 'modularFuelTanks, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

File name: 'modularFuelTanks, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null'

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Non platform assembly: H:\BAD KSP 4\GameData\TweakScale\plugins\TweakScale_RealFuels.dll (this message is harmless)
AssemblyLoader: Exception loading 'TweakScale_RealFuels': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0

at AssemblyLoader.LoadAssemblies () [0x00000] in <filename unknown>:0

"The classes in the assembly could not be loaded" is the key phrase here. It indicates that Tweakscale is not loading correctly.

Then, because Tweakscale does not load correctly, everything that depends on it is also broken and things snowball from there.

So, start with double checking you have the latest version of RealFules and ModuleFuelTanks and that they are in the right place in your GameData folder. Then also check that you don't have old/multiple version so Tweakscale installed.

Hope that gets you going.

D.

Link to comment
Share on other sites

@Diazo

That's normal if Gone004 does not have Modular Fuel Tanks or Real Fuels installed alongside TweakScale. There's a plan to fix that in future versions, but it's not the problem here.

@Gone004

There's a tremendous amount of errors in that log (50000+). That makes it nearly impossible to track down the root cause. Please read the How to Get Support (READ FIRST) stickied thread.

Link to comment
Share on other sites

I forgot to add something, The bug seem to occur after a docking or dedocking, I think the ship is corrupted when the game is saving it in orbit. And I have this little bug : the nav-ball disappeared and some times the altimeter too, (debug say "[exception] :NullReference Exception: Object not set to an instance of an object" I think I run out of memory at some point ).

WAIT !... My station... It's ALIVE ! Just by deleting "tweakscale" folder in gamedata.... Diazo, you are a genius.

But ... Infernal robotics need tweak scale, and klockheed martian too ( for the little cargo bays ) . I thinks there is a workaround for both of them, and if not, I can make my own by adding the same part.cfg with a rescale factor and a different name.

Thank for your time guys, Great forum.

Link to comment
Share on other sites

There is something weird, my docked living quarter section (a 2001 space odyssey rotating style) ... isen't docked... and the crew who was in it has come back in the command pod in the command section... like the docking never happend. But I haven't load an old save and I have checked all my backup saves, it's impossible . I should go to sleep this is too illogic for me. But It's not a big deal if that 's the price for getting back my space station, anyway in a few kerbal years all the space station will be giant white ships made of B9 5.2.1 parts.

Link to comment
Share on other sites

okay after, some testing I have a godd news and a bad news,

the bad one : my new launched vessel still get corrupted when loading them.

the good one : I can now reproduce the bug without "random", I simply put my big space shuttle on the runway, launch it, crash it (only because It need some tweaking for the first stage), and hit the revert to launch button.

check out those pictures :

first launch : https://www.dropbox.com/s/3v5ggwmguu8pv0d/screenshot186.png?dl=0

after hitting the revert to lauch button : https://www.dropbox.com/s/6wuv2twfsyhdkqj/screenshot187.png?dl=0

notice the glitchy nav-ball ?

Link to comment
Share on other sites

Have you tried removing all mods.

This should be your first test.

This determines if it's a bug in a mod in a mod or the game.

It seems you are getting some null reference exceptions from DebRefund so it might be that.

Link to comment
Share on other sites

I reduced the mods and the parts,

the bug still occur exept if I try to remove some air brake on a procedural wing (from procedural dynamics),

witch is on a procedural multi-adapter (from procedural fairings).

New output log with less error I hope https://www.dropbox.com/s/a5gwky69cgk2rwd/output_log.txt?dl=0

But I thing all this work is for nothing because the .craft file might be corrupted.

In the SPH if I remove the air brake I was talking about, I get stuck. Not a Freeze or a crash, I just can't do anything exept moving the mouse around the parts and they glow green like normal, but I can't use the button or select a part, hopefully I get back to control by pressing ctrl z.

Link to comment
Share on other sites

ho, and Broax, we have the exact same bug. If I was good with programs, I would make one that will check the common error between our logs, if that make any sense.

Also I noticed the glitchy nav-ball thing only happen if enchanced nav-ball is installed.

Link to comment
Share on other sites

  • 2 weeks later...

I hate to repost but I'd like to give an update on this issue: I've been playing in the 32bit of the game and everything seems a lot more stable... So far I made it to Duna (first time to Duna, yay!) and I had no crashes or unexplained floating cans... I'll probably just stick to the 32bit version of the game and will advice anyone struggling with the 64bit version to give it a try as well... :)

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