Comments (5)
Could you possibly include the full log (specifically the output_log.txt file from the KSP_Data folder)? The save file may be helpful as well. If you load up the game again to retest, please turn on the Debug Messages setting in the KCT settings.
That error is a very bad one. Where it occurs is during loading of the persistence data, which will result in some serious issues that might not seem present at first. It's definitely something related to KCT though, since it happens inside one of KCT's functions. Often similar issues occur from other mods, but not in this instance.
You may want to try one of the development builds to see if that makes the problem go away (in which case I've likely already fixed it). At the very least, the dev builds have some extra functionality that detects when issues like this occur and will let you know that something's wrong.
from kct.
To turn on the debug message, it's VERBOSE_DEBUG_LOG, right?
anyway, here the log, without additional plug-in, on a new game, with the latest dev build (and the savegame)
To reproduce, load the save and click on the green rocket at the launchpad.
log:
http://pastebin.com/pdnZspE8
savegame:
https://mega.co.nz/#!J5AwQSIb!CjpwK4nfVLAXcCI-Fh2Q64aB9FrwqZsjSfjK3x_F5BE
from kct.
The debug messages I was mentioning are specific to KCT and are in the KCT settings, but since you were using the development build they were automatically enabled, so no worries about that.
I think I know what the problem is. The good news is that's it's a simple fix and as long as you don't have any other mods that need to read from the save file after KCT does then there shouldn't be any actual issues with continuing the flight. I may have a potential fix if you're willing to change one line in your save file (until I get home later and fix it on my end): find the "sit = PRELAUNCH" line in the save and change it to "sit = LANDED" (without quotes in both cases).
If you're interested in what exactly is going wrong, it's this: KCT didn't expect people to launch a craft without actually going through with the launch. When the flight scene is loaded up to a craft that's sitting on the pad (PRELAUNCH) it tries to remove the craft from the appropriate VAB/SPH Storage. Since the craft wasn't launched in this game session, there isn't a valid KCT_GameStates.launchedVessel, so it creates a Null Reference Exception. The fix is to check if that's null, and if so then obviously don't try to remove it from the build list! It's a one line fix :)
I'll have this taken care of tonight.
from kct.
sit = LANDED => it works!
Ok, a simple one ^^.
glad I could help enhance an already excellent product.
from kct.
I also fixed it on my side so it shouldn't be an issue in the future :)
from kct.
Related Issues (20)
- Stops time warp even when 'ForceStopWarp = False'. HOT 2
- Null reference exception in FixedUpdate (ver. 1.3.0.32). HOT 4
- A simpler ModuleVariable request
- Going into "Edit" mode on a vessel in construction then clicking "Save Edits" cause the main KCT window in the editor to shrink HOT 1
- Latest build: Tag from dev, but built from master? HOT 2
- Techs can be unlocked out of order
- KerbalKonstructs for KSP 1.4 will break KTC integration. HOT 2
- Can't launch with kerbals in command seats
- Could we get a 1.3.1 backport? HOT 1
- out of Warp if out of Funds
- Reconditioning Blocks All Rollout
- Can't load kerbals into command pods (RSS/RO/RP-1) HOT 2
- Vessel is added to build list although build constraints are not fulfilled HOT 2
- Unable to build when funds would be not enough but are enough now with ScrapYard.
- Mods incompatibility: KCT vs MAS
- Build launchpad showing time offset into next column in UI HOT 1
- Merging built vessels.
- Refuel does not refill ignitions in KSP RO/RSS 1.8.1
- [RSS RP-1] Cannot dismantle Launchpad
- KCT Airlaunch levels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kct.