Jump to content

[need help] KSP throwing Exception:NullReferenceException after switching vessels


Recommended Posts

The game shows an interface like this every time I try to switch to a vessel(via tracking station or map)

EzGQvedm.png

ESC menu and map view becomes unavailable.

 

meanwhile,the console keeps popping up warning like this:

CDLiCTqc.png

Had no problem launching new vehicle.

 

Game version 1.12.3

Modlist:

Spoiler

Advanced Jet Engine (AdvancedJetEngine v2.20.0)
ASET Consolidated Agency (ASETAgency v2.0.2)
ASET Consolidated Avionics Pack (ASETAvionics v3.0.1)
ASET Consolidated Props Pack (ASETProps v2.0.7)
Astrogator (Astrogator v1.0.0)
AtmosphereAutopilot (Fly-By-Wire) (AtmosphereAutopilot v1.6.1)
Avionics Systems (AvionicsSystems v1.3.7)
B9 Aerospace Procedural Wings - Fork (B9-PWings-Fork 3:0.44.0)
B9 Part Switch (B9PartSwitch v2.20.0)
BahamutoD Animation Modules (BDAnimationModules 1:v0.6.7.1)
BatteryActivatorReactivated (BatteryActivatorReactivated 1.2.0.1)
BDArmory Plus (BDArmoryForRunwayProject 2:v1.6.10.1)
BetterTimeWarpContinued (BetterTimeWarpCont 2.3.13)
CactEye-2 Orbital Telescope Refocused (CactEyeCommunityRefocused 1.5.2.8)
Chinese Mod Patches (ChineseModPatches 0.10.0)
ClickThrough Blocker (ClickThroughBlocker 1:2.1.10.21)
Community Category Kit (CommunityCategoryKit v112.0.1)
Community Resource Pack (CommunityResourcePack v112.0.1)
DE_IVAExtension (DE-IVAExtension v1.2.0)
Distant Object Enhancement /L (DistantObject v2.1.1.15)
Distant Object Enhancement /L default config (DistantObject-default v2.1.1.15)
Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.10.0.0)
Easy Vessel Switch (EVS) (EasyVesselSwitch 2.3)
Engine Lighting Relit (EngineLightRelit 1.6.3.4)
Environmental Visual Enhancements Redux (EnvironmentalVisualEnhancements 3:1.11.7.1)
Ferram Aerospace Research Continued (FerramAerospaceResearchContinued 3:0.16.1.2)
FreeIva (FreeIva 0.2.18.3)
Hangar Extender (HangerExtenderExtended 3.6.0.2)
Harmony 2 (Harmony2 2.2.1.0)
HullcamVDS Continued (HullcamVDSContinued 0.2.2.1)
Keep It Straight (KeepItStraight 1.4.0)
Kerbal Attachment System (KAS 1.12)
Kerbal Changelog (KerbalChangelog v1.4.2)
Kerbal Inventory for All (KerbalInventoryForAll 1:1.2.2)
Kerbal Inventory System (KIS 1.29)
Kerbal Joint Reinforcement Continued (KerbalJointReinforcementContinued v3.7.2.0)
Kopernicus Planetary System Modifier (Kopernicus 2:release-1.12.1-197)
KSC Switcher (KSCSwitcher v2.1.0.0)
KSP Community Fixes (KSPCommunityFixes 1.34.1)
KSP Recall (KSP-Recall v0.4.0.1)
KSP Wheel (KSPWheel 1:0.16.14.33)
KSPBurst (KSPBurst v1.5.5.1)
LoadingTipsPlus (LoadingTipsPlus V1.9)
Magpie Mods (MagpieMods 1.5.9)
MechJeb 2 (MechJeb2 2.14.3.0)
ModularFlightIntegrator (ModularFlightIntegrator 1.2.10.0)
Module Manager (ModuleManager 4.2.3)
ModuleDepthMask (DepthMask 1.1.3)
MOIST! Underwater Technologies (MOISTUnderwaterTechnologies 1.12.1)
Parallax (Parallax 2.0.6)
Parallax - Stock Planet Textures (Parallax-StockTextures 2.0.0)
Parallax - Stock Scatter Textures (Parallax-StockScatterTextures 2.0.1)
Patch Manager (PatchManager 0.0.17.6)
Physics Range Extender  (PhysicsRangeExtender 1.21.0)
PlanetShine (PlanetShine 0.2.6.6)
PlanetShine - Default configuration (PlanetShine-Config-Default 0.2.6.6)
Procedural Fairings (ProceduralFairings 1:v6.5.0.0)
Procedural Fairings - For Everything! (ProceduralFairings-ForEverything v0.3.0)
Procedural Parts (ProceduralParts v2.5.8.0)
RasterPropMonitor (RasterPropMonitor 1:v0.31.13.4)
RasterPropMonitor Core (RasterPropMonitor-Core 1:v0.31.13.4)
Real Fuels (RealFuels 1:v15.8.3.0)
Real Plume (RealPlume 2:v13.3.2)
Real Solar System (RealSolarSystem v20.1.2.0)
Real Solar System Textures - 8192 x 4096 (RSSTextures8192 v18.6.1)
RealChute Parachute Systems (RealChute v1.4.8.3)
RealHeat (RealHeat v5.1)
Realism Overhaul (RealismOverhaul v17.7.0.0)
Reentry Particle Effect Renewed (ReentryParticleEffect 1.9.1.1)
ReStock (ReStock 1.4.3)
ReStock+ (ReStockPlus 1.4.3)
Reviva (Reviva 0.8.1)
RO Capsules (ROCapsules v2.2.5.0)
RO Engines (ROEngines v2.6.0.0)
RO Library (ROLib v1.9.1.0)
RO Solar (ROSolar v2.1.1.0)
RO Tanks (ROTanks v2.10.0.0)
ROUtils (ROUtils v1.0.1.0)
RSS DateTime Formatter (RSSDateTimeFormatter v1.12.1.0)
RSS Visual Enhancements - High Resolution (RSSVE-HR 2.1.6)
SCANsat (SCANsat v20.4)
Scatterer (Scatterer 3:v0.0838)
Scatterer Default Config (Scatterer-config 3:v0.0838)
Scatterer Sunflare (Scatterer-sunflare 3:v0.0838)
SimpleConstruction! (SCON) by matterbeam (SimpleConstruction 1:4.0.2.7)
SinkEmAll (SinkEmAll 3.1)
SmokeScreen - Extended FX Plugin (SmokeScreen 2.8.14.0)
Solver Engines plugin (SolverEngines v3.14.0)
SpaceTux Library (SpaceTuxLibrary 0.0.8.5)
Staged Animation (StagedAnimation v2.0)
Textures Unlimited (TexturesUnlimited 1.5.10.25)
Toolbar Controller (ToolbarController 1:0.1.9.11)
Trajectories (Trajectories v2.4.5.3)
TweakScale - Rescale Everything! (TweakScale v2.4.7.4)
TweakScale Companion (the "UberPaket") (TweakScaleCompanion 2023.10.21.2)
TweakScale Redistributable (TweakScale-Redist v2.4.7.4)
Vessel Viewer Continued (VesselView 2:0.8.9)
VesselMover Continued (VesselMoverContinued v1.12.0)
VesselView-UI-RasterPropMonitor (VesselView-UI-RasterPropMonitor 1:0.8.9)
VesselView-UI-Toolbar (VesselView-UI-Toolbar 1:0.8.9)
Working Underwater Lite (WorkingUnderwaterLite 1.2.1)

Any help is appreciated!

Edited by redekr
Link to comment
Share on other sites

3 hours ago, redekr said:

Hmm, lots of different things are throwing exceptions so it's hard to pinpoint a cause...you might want to resintall the game and make sure you follow the install instructions for realism overhaul.  Note that using TweakScale with RO is discouraged since most parts are already procedural.

Link to comment
Share on other sites

I "reverse engineered" your KSP.log and replicated your installment on my rig. It's not a 100% replica because I'm on MacOS (what gave me advantages sometimes), but it works very well as long as I don't try to use something tied to Windows or to a specific GPU driver.

And the damned thing works for me.

Now, I have some theories about what could be happening based on previous experiences on diagnosing heavy loads on KSP on multiple OSes.

  1. Perhaps you have same pretty old Add'On installed, and when I reproduced your rig here I ended up installing a newer one"by accident"; or
  2. You have yet less RAM than me, and you just blew it up while running the game.
    1. MacOS is way more resilient to this than Windows, I can overcommit up to 4 times my RAM before the rig goes birds up. So I can survive borderline situations than Windows users just can't.
    2. But it costs me dearly, performance goes to the deepest circle of Dante's Inferno... :rolleyes:
      1. [LOG 17:04:01.624] [AutoSave]: Game Backed Up and Saved
        [LOG 17:16:00.292] Flight State Captured
        

        Yeah, you read it right. 12 Minutes between two log entries... :D

So I have two suggestions for you:

  1. Suggestion One:
    1. Create a COMPLETELY NEW KSP installment using CKAN, importing a CKAN file I created for my test bed. My test bed was created using it.
      1. The file is here.
    2. Copy your savegames into the new rig and see if the problem goes away.
    3. DO NOT TOUCH YOUR ORIGINAL KSP INSTALLMENT.
      1. Sheet happens :sticktongue:, don't risk your valuable savegames on potentially destructive tests.
  2. Suggestion Two (also on the new RIG, these ones are, indeed, destructive):
    1. Remove Parallax and all its dependencies
      1. Check if the problems goes away
        1. if yes, PROFIT!
        2. if not, keep walking
    2. Remove EVE and all its dependencies
      1. ditto
    3. If you reach this point, send me a new KSP.log.
      1. And let's start again.

For the records, I found two things in your log that I failed to identify:

* GameData/Custom
* GameData/Custom_FARAeroData.cfg

But I doubt they have any influence on the problem.

At last, but not at least, TweakScale™ (the original) uses a OPT-IN doctrine, where I strictly refuse to mangle to 3rd parties directly - and even the Companions don't brute force anything on Add'Ons that removes TweakScale support from their parts preemptively.

It's safe to use TweakScale™ with Realism Overhaul  (and anything else) and make good use of it on the parts that are still scalable, as trusses.

-- --

ping @redekr!

Edited by Lisias
forgot to ping the user!!! shame on me!!! :D
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...