simon-82 / ModVarietyPack

modpack for RimWorld - visit the website :)
http://simon-82.github.io/ModVarietyPack
20 stars 11 forks source link

Reseach Screen goes blank #103

Closed TLHeart closed 8 years ago

TLHeart commented 8 years ago

Open research screen, and it is blank... get this error in the log repeating forever.

Exception filling window for CommunityCoreLibrary.MainTabWindow_Research: System.NullReferenceException: Object reference not set to an instance of an object

at CommunityCoreLibrary.MainTabWindow_Research+<>c.b__29_10 (CommunityCoreLibrary.HelpDef rpd) [0x00000] in :0

at System.Linq.SortSequenceContext`2[CommunityCoreLibrary.HelpDef,System.String].Initialize (CommunityCoreLibrary.HelpDef[] elements) [0x00000] in :0

at System.Linq.QuickSort`1[CommunityCoreLibrary.HelpDef].PerformSort () [0x00000] in :0

at System.Linq.QuickSort`1+c__Iterator21[CommunityCoreLibrary.HelpDef].MoveNext () [0x00000] in :0

at System.Collections.Generic.List1[CommunityCoreLibrary.HelpDef].AddEnumerable (IEnumerable1 enumerable) [0x00000] in :0

at System.Collections.Generic.List1[CommunityCoreLibrary.HelpDef]..ctor (IEnumerable1 collection) [0x00000] in :0

at System.Linq.Enumerable+c__IteratorF`1[CommunityCoreLibrary.HelpDef].MoveNext () [0x00000] in :0

at System.Linq.Enumerable.Count[HelpDef](IEnumerable`1 source) [0x00000] in :0

at CommunityCoreLibrary.MainTabWindow_Research.DoWindowContents (Rect inRect) [0x00000] in :0

at Verse.Window+cAnonStorey1C3.<>mEE (Int32 x) [0x00000] in :0

Karel-Kroeze commented 8 years ago

any idea when/how this happened exactly? It's a piece of CCL I'm responsible for...

TLHeart commented 8 years ago

Sorry no idea what is causing this to happen... it is random at the moment. I can't even reproduce it from the same save file.

But It does happen everytime I load the save file from planeton.rws located here: https://www.dropbox.com/s/i41upyt4o2q0k01/Planeton.rws?dl=0

load the game click on the research tab, and click on any part of the research.

Flow86 commented 8 years ago

hi, i get the same thing, research tab completly blank here

simon-82 commented 8 years ago

I can't reproduce that error. And I never saw it happen randomly in any of my games. Maybe this is related to your other errors in issue #106? Mods not loading correctly?

Flow86 commented 8 years ago

ah I think I found what caused the problem: I had to deactivate and reactivate a random mod and then create a new plane: research tree is okay after that. perhaps some mod loading issue?

Karel-Kroeze commented 8 years ago

Yeah, changing mods without reloading the game will lead to all kinds of weirdness.

On Mon, 25 Jan 2016 at 07:40 Flow86 notifications@github.com wrote:

ah I think I found what caused the problem: I had to deactivate and reactivate a random mod and then create a new plane: research tree is okay after that. perhaps some mod loading issue?

— Reply to this email directly or view it on GitHub https://github.com/simon-82/ModVarietyPack/issues/103#issuecomment-174416978 .

simon-82 commented 8 years ago

So the bug is just that? "Weirdness" from mods not loading correctly? Or did you find anything related to the log errors that are posted in the OP here @Karel-Kroeze? Can I close this then?