Coder Social home page Coder Social logo

modularflightintegrator's People

Contributors

ferram4 avatar sarbian avatar starwaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

modularflightintegrator's Issues

Loading screen

Get stuck in loading screen. help? modlist as follows
screenshot_96

declaring an MFI as a field causes error

declaring a ModularFlightIntegrator field

        public ModularFlightIntegrator fi;

produces the following error
(it was in a PartModule derived class; I was going to try to cache the FI there for access in methods outside the delegates. Not a biggie, I'll do things differently but this seemed odd and it'd be nice to know why it happened)
log here: https://www.dropbox.com/s/2c5h53nergs11tp/output_log.MFI.txt?dl=0

Non platform assembly: C:\Games\KSP_win_1.0\GameData\ModuleManager.dll (this message is harmless)
Non platform assembly: C:\Games\KSP_win_1.0\GameData\DeadlyReentry\Plugins\DeadlyReentry.dll (this message is harmless)
AssemblyLoader: Exception loading 'DeadlyReentry': 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.TypeLoadException: Could not load type 'DeadlyReentry.ModuleAeroReentry' from assembly 'DeadlyReentry, Version=6.6.5599.6759, Culture=neutral, PublicKeyToken=null'.

1.11 support on CKAN

Sarbian, ModularFlightIntegrator works fine in 1.11.0. Perhaps you could update the CKAN metadata to indicate this so Kopernicus could benefit dependency wise?

@Lisias: MFI 1.2.4.10 creates NRE spam - also rls MFI 1.2.5.0 does it

@Lisias
Using
https://github.com/net-lisias-kspu/ModularFlightIntegrator/releases/tag/RELEASE%2F1.2.4.10

I had several occasions without issues, but then it happened.
A sounding rocket was stuck on the launch clamp.

The log was spammed with

TimingFI threw during FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ModularFI.ModularFlightIntegrator.TimedFixedUpdate () [0x00000] in <filename unknown>:0 
  at TimingFI.FixedUpdate () [0x00000] in <filename unknown>:0 
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

and then with

TimingFI threw during FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ModularFI.ModularFlightIntegrator.TimedFixedUpdate () [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at TimingFI.FixedUpdate () [0x00000] in <filename unknown>:0 
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

TimingFI threw during Update: System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[OcclusionData].get_Item (Int32 index) [0x00000] in <filename unknown>:0 
  at FlightIntegrator.UpdateOcclusionSolar () [0x00000] in <filename unknown>:0 
  at FlightIntegrator.UpdateOcclusion (Boolean all) [0x00000] in <filename unknown>:0 
  at ModularFI.ModularFlightIntegrator.UpdateOcclusion (Boolean all) [0x00000] in <filename unknown>:0 
  at FlightIntegrator.Update () [0x00000] in <filename unknown>:0 
  at ModularFI.ModularFlightIntegrator.TimedUpdate () [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at TimingFI.Update () [0x00000] in <filename unknown>:0 
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

The full log and stuff:
https://www.dropbox.com/s/ywo6jzch15tbjob/2018-10-11_1%20KSP.log%20and%20stuff.7z?dl=1

Versioning Issues

I just spent about two hours hunting for why I was getting endless errors like:

[EXC 15:38:27.750] MissingMethodException: Method not found: 'ModularFI.ModularFlightIntegrator.get_PartThermalDataList'.
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    DeadlyReentry.ModuleAeroReentry:FixedUpdate()

when running Deadly Reentry, FAR, and their common prerequisite ModularFlightIntegrator installed via CKAN. It turns out that the version I have installed is marked as version 1.0.0.0... yet looking at it in MonoDevelop-Unity it is clearly not the correct version, as the PartThermalDataList field is missing. This lead to a huge slew of exceptions as Deadly Reentry uses that field in the FixedUpdate method.

While I am glad I figured it out, the main cause seems to be the lack of well documented release information on this mod and sloppy recordkeeping in the CKAN-meta repository, having the same "version" of the mod updated to point to new files each time.

DX11 and SVT

SVT textures go crazy: https://www.dropbox.com/s/gjlgdj5q8kqx9lh/KSP.bmp?dl=0
when installing modularFlightIntegrator AND running on DX11.
To see what I am talking about, forceDx11 with ModularFlightIntegrator installed and SVT, you'll have those black lines like in the image linked. But WITHOUT ModularFlightIntegrator, textures are fine!

EDIT: My LOG with only Kopernicus, SVT, modularFlightIntegrator and ModuleManager2.8.1 (forcingDX11)
https://www.dropbox.com/s/t3h8pmwg4fvvz3x/KSP.log?dl=0

Crashing during load

When I open the crash report, it says that mono.dll keeps trying to access forbidden memory.

ksp 1.3

Can you tell me what version will run in ksp 1.3 ?

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.