jrossignol / Strategia

MIT License
8 stars 16 forks source link

Walt and Gus randomly disappearing #53

Open kaa253 opened 7 years ago

kaa253 commented 7 years ago

I keep having Walt and Gus disappearing and re-appearing again in the Administration building. Their photos and their whole column of strategies disappear together. It seems that at the moment they appear or disappear I get the following in the Player.log...

The file GameData/ModuleManager.TechTree does exist. I have (amongst other things) deleted all the module manager cache files - no change - still keep losing Walt and Gus. I have opted in to "To Boldly Go I" and whenever Walt and Gus turn up it says I have one active strategy. When they are absent it says I have 0 active strategies and To Boldly Go appears as available again. The strategy Stagnated Research I when Walt is visible and when selected says 

[UIMasterController]: ShowUI

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

File 'GameData/ModuleManager.TechTree' does not exist

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

Strategia: Couldn't load tech tree from GameData/ModuleManager.TechTree

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

NullReferenceException: Object reference not set to an instance of an object
  at Strategia.CurrencyOperationPerTech.CurrentMultiplier () [0x00000] in <filename unknown>:0 
  at Strategia.CurrencyOperationPerTech.RequirementMet (System.String& unmetReason) [0x00000] in <filename unknown>:0 
  at Strategia.StrategyNotifier+<CheckStrategyState>d__3.MoveNext () [0x00000] in <filename unknown>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)`

?      Strategy title

Strategy description asdf asdf asdf asdf asdf asdf ..... (3 lines of asdf's)

​​​​​​​in the right hand pane. Linux player 64 bit version of KSP 1.2.2 (build id = 01622) if that matters.

jrossignol commented 7 years ago

Sorry it took so long to get to this. I think I'd need to see the full KSP.log for this one. The only way that I can see for this error to occur is if ResearchAndDevelopment.Instance is null, which can only happen if you've got some other serious problems going on.

kaa253 commented 7 years ago

No need to apologise Nightingale, I read the forum's Daily Weekly: New Beginnings post. I would probably struggle to recover the full KSP.log for this now. I uninstalled Strategia some time ago. It is likely that I had some other serious mod related problems going on at that time. I dislike in general to point at any mod without performing careful stock plus single mod testing which I have not done but I could mention that Kopernicus was throwing a ton of NREs at the time; in case you come across more reports of a possible poor interaction with that mod. I do intend to try Strategia again as it is a great improvement to the strategies and the career mode of KSP in general. I am waiting to start a new career save for that and am waiting in hope for some other mods to be updated and bug fixed. As I probably cannot provide useful logs and/or a method to reproduce the problem at this time please close this issue if you wish.