Hi Everyone,
(I'm not sure this is the right place for this post...)
Fascinated by all the great mods out there, I've decided to start giving back to the modding community and contribute some work myself and generate some pull requests...
The first step for me is learning a bit of the structure of the KSP API, and some of the main mods out there to see what I could do...
And that's where I hit my first snag: I'm trying to compile scansat from source and it generates a bug in KSP at run-time that doesn't occur if I take the release DLL from DMagic.
In my KSP.log, I get the following error spams when I use the DLL I compiled, but all goes well when I use the one provided
[EXC 10:46:57.200] NullReferenceException: Object reference not set to an instance of an object
KSP.UI.Screens.ResourceDisplay.CreateResourceList ()
KSP.UI.Screens.ResourceDisplay.Update ()
[EXC 10:46:57.998] NullReferenceException: Object reference not set to an instance of an object
SCANsat.SCANcontroller.Start ()
My platform is Windows 7 64 bit, and I'm compiling using VS. I have no other mods installed except blizzy's toolbar and AVC. I have tried without/with the other mods, and the bug shows up only when my compilation of scansat is used.
I'm guessing that DMagic compiles using Mono , correct ? Is there any specific reason behind this issue ? has anyone else had the same issue ?
I'v posted below a screen capture of the bug (i never get to the main menu, it immediately goes to this after the loading screen.) as well as the csproj file I m using.
I know this has nothing to do with the awesome work done on Scansat, and I'm not sure I'm asking in the right place, but any advice would be greatly appreciated for an aspiring fellow modder... (please pretty please :-) )