GithubHelp home page GithubHelp logo

Comments (4)

PiezPiedPy avatar PiezPiedPy commented on August 14, 2024

@kerbalguy

You also have problems with MechJeb, Kronometer and TweakScale
[ERR 13:52:47.943] MechJeb caught a ReflectionTypeLoadException. Those DLL are not built for this KSP version:

[ERR 13:52:47.943] Kronometer 1.0.0.0 GameData\JNSQ\JNSQ_Plugins\Kronometer\Plugins\Kronometer.dll
System.TypeLoadException: VTable setup of type Kronometer.ClockFormatter failed
[ERR 14:15:22.954] Module TweakScale threw during OnStart: System.NullReferenceException: Object reference not set to an instance of an object

Trajectories threw this error
[ERR 15:57:06.616] Exception loading ScenarioModule Trajectories: System.TypeInitializationException: The type initializer for 'Trajectories.Settings' threw an exception. --->

which occurred while Trajectories was constructing its settings and called KSP.IO.PluginConfiguration.CreateForType, this error occurred inside KSP's code and thus I cannot help.

Try removing these mods and see if it fixes the problem, obviously you have a mod conflict, have a read of the CONTRIBUTING.md file specifically here CONTRIBUTING.md#removing-mods-for-debugging

from ksptrajectories.

kerbalguy avatar kerbalguy commented on August 14, 2024

@kerbalguy

You also have problems with MechJeb, Kronometer and TweakScale
[ERR 13:52:47.943] MechJeb caught a ReflectionTypeLoadException. Those DLL are not built for this KSP version:

[ERR 13:52:47.943] Kronometer 1.0.0.0 GameData\JNSQ\JNSQ_Plugins\Kronometer\Plugins\Kronometer.dll
System.TypeLoadException: VTable setup of type Kronometer.ClockFormatter failed
[ERR 14:15:22.954] Module TweakScale threw during OnStart: System.NullReferenceException: Object reference not set to an instance of an object

Trajectories threw this error
[ERR 15:57:06.616] Exception loading ScenarioModule Trajectories: System.TypeInitializationException: The type initializer for 'Trajectories.Settings' threw an exception. --->

which occurred while Trajectories was constructing its settings and called KSP.IO.PluginConfiguration.CreateForType, this error occurred inside KSP's code and thus I cannot help.

Try removing these mods and see if it fixes the problem, obviously you have a mod conflict, have a read of the CONTRIBUTING.md file specifically here CONTRIBUTING.md#removing-mods-for-debugging

I actually managed to solve the issue on my own by going through and removing some old mod folders. Thanks for trying to help though. :)

from ksptrajectories.

PiezPiedPy avatar PiezPiedPy commented on August 14, 2024

This happens a lot due to KSP bumming out of loading mods if one of them has an issue loading, mods already loaded before the offending mod will load and those after will fail.

I will put the call in a try block and catch the error and exit Trajectories gracefully with an on screen warning to the user.

from ksptrajectories.

PiezPiedPy avatar PiezPiedPy commented on August 14, 2024

Done, hopefully the on screen message will help some people resolve their issues.

from ksptrajectories.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.