TriggerAu / TransferWindowPlanner

An ingame implementation of Alexmun's Launch Window Planner
MIT License
64 stars 36 forks source link

Can't run test cases #36

Closed wcmille closed 8 years ago

wcmille commented 9 years ago

Trying to run the test cases. Get this error message:

image

wcmille commented 8 years ago

Here's the offending line: HoursPerDay = GameSettings.KERBIN_TIME ? 6 : 24;

GameSettings seems to be from a KSP assembly. Could it be because the test runner is not initializing this?

TriggerAu commented 8 years ago

Sorry to take soo long on this one, just onto it now.

Unfortunately it looks like Unity have changed the way they have defined the methods underpinning this so the code that uses the KSP dlls no longer works in newer version of Unity - still works in the 0.90 games version, but not later. Will look at adjusting the code to use constants for now and see if its an easy win

TriggerAu commented 8 years ago

Gonna close this one off here - I can't fix it in the short term unfortunately will have to be a known issue