Ludeon Forums

RimWorld => Mods => Topic started by: timeandtherani on February 08, 2016, 03:14:29 PM

Title: Research tab goes blank
Post by: timeandtherani on February 08, 2016, 03:14:29 PM
I don't know where else to put this, so if I need to move it, let me know:

I do a clean install of the game, and I can do a vanilla game fine.

I load, in order, (1) community core (2) community core vanilla tweaks -- without any other mods -- and start a new game.  My research tab is empty.   Not a thing listed.

Here's the latest output log.  Can anyone decipher this and see what's going on?  I'd appreciate any help.

[attachment deleted by admin - too old]
Title: Re: Research tab goes blank
Post by: Alistaire on February 08, 2016, 03:49:52 PM
Are you sure you didn't forget to load Core.
Title: Re: Research tab goes blank
Post by: timeandtherani on February 08, 2016, 03:52:44 PM
@Alistaire  I am absolutely sure I loaded Core.
Title: Re: Research tab goes blank
Post by: Alistaire on February 08, 2016, 04:12:20 PM
Why then is this section not in your output_log.txt:

121954ms LoadAllPlayData

- 107154ms Load all active mods.

- - 10962ms Loading [Core|Core]

- - - 10958ms Loading defs from all def sets

- - 14625ms Loading [RimworldAscension|Rimworld Ascension]

- - - 6338ms Loading assets of type UnityEngine.AudioClip for mod RimworldAscension

- - - - 3179ms Loading file electrocution

- - - - 3155ms Loading file electrocutionAlt

- - - 4702ms Loading assets of type UnityEngine.Texture2D for mod RimworldAscension

- - - 3527ms Loading defs from all def sets

- 1553ms Load language metadata.

- 38ms Copy all Defs from mods to global databases.

- 67ms Resolve cross-references between non-implied Defs.

- 11ms Rebind defs (early).

- 1788ms Generate implied Defs (pre-resolve).

- - 1269ms Loading language data: English

- 0ms Resolve cross-references between Defs made by the implied defs.

- 4ms Rebind DefOfs (final).

- 191ms Other def binding and short hash giving.

- 10661ms Resolve references.

- 2ms Generate implied Defs (post-resolve).

- 47ms Error check all defs.

- 29ms Load keyboard preferences.

- 402ms Load backstories and bios.

- 1ms Inject selected language data into defs.


I am absolutely sure you did not load Core.
Title: Re: Research tab goes blank
Post by: timeandtherani on February 08, 2016, 05:32:39 PM
I loaded core.  I'm gonna do the whole thing over again, fully loaded, and give you another output log, if you don't mind looking at it.  I do appreciate the help.
Title: Re: Research tab goes blank
Post by: timeandtherani on February 08, 2016, 05:48:56 PM
I have an output log and a screenshot of the blank tab, but they're too big to put in the comment.  Here's a link:
https://drive.google.com/open?id=0BzLMP8L5A3TPUHotUElVdXhscXc
Title: Re: Research tab goes blank
Post by: Fluffy (l2032) on February 08, 2016, 06:05:30 PM
Quote from: Alistaire on February 08, 2016, 04:12:20 PM
Why then is this section not in your output_log.txt:

121954ms LoadAllPlayData

- 107154ms Load all active mods.

- - 10962ms Loading [Core|Core]

- - - 10958ms Loading defs from all def sets

- - 14625ms Loading [RimworldAscension|Rimworld Ascension]

- - - 6338ms Loading assets of type UnityEngine.AudioClip for mod RimworldAscension

- - - - 3179ms Loading file electrocution

- - - - 3155ms Loading file electrocutionAlt

- - - 4702ms Loading assets of type UnityEngine.Texture2D for mod RimworldAscension

- - - 3527ms Loading defs from all def sets

- 1553ms Load language metadata.

- 38ms Copy all Defs from mods to global databases.

- 67ms Resolve cross-references between non-implied Defs.

- 11ms Rebind defs (early).

- 1788ms Generate implied Defs (pre-resolve).

- - 1269ms Loading language data: English

- 0ms Resolve cross-references between Defs made by the implied defs.

- 4ms Rebind DefOfs (final).

- 191ms Other def binding and short hash giving.

- 10661ms Resolve references.

- 2ms Generate implied Defs (post-resolve).

- 47ms Error check all defs.

- 29ms Load keyboard preferences.

- 402ms Load backstories and bios.

- 1ms Inject selected language data into defs.


I am absolutely sure you did not load Core.
ALi, that stuff is only logged when you set an option somewhere.
Title: Re: Research tab goes blank
Post by: timeandtherani on February 09, 2016, 01:04:09 PM
This is giving me a good lesson on how to read output logs, at least.  But I'd still like to know what's going on.  Sigh.   

Ordinarily I'd be happy to play vanilla, although I've gotten spoiled with mods.  But it's got to the point where I've fiddled and twisted and tested and done clean reinstalls so many times that I don't even want to look at it anymore, which sucks.
Title: Re: Research tab goes blank
Post by: skullywag on February 09, 2016, 02:13:02 PM
Someone else in the forum has reported this and im struggling to find the cause. Might there actually be an issue with ccl?
Title: Re: Research tab goes blank
Post by: Fluffy (l2032) on February 09, 2016, 03:27:35 PM
you could potentially go into mods/CCL/defs/MainTabDefs/MainTabs.xml, and comment out the research tab section like so:


<!--
<MainTabDef>
    <defName>Research</defName>
    <label>research</label>
    <description>Examine and decide on research projects.</description>
    <windowClass>CommunityCoreLibrary.MainTabWindow_Research</windowClass>
    <order>90</order>
  </MainTabDef>
-->


(adding the 'arrows')
That'll stop CCL overriding the vanilla research tab. Alternatively, wait for the next CCL release, which will likely still have the bug (because I can't find the darn thing), but handle it more gracefully and - crucially - provide us with a more detailed error dump when it does fail.

Title: Re: Research tab goes blank
Post by: timeandtherani on February 09, 2016, 06:25:45 PM
Just go in and add the arrows?  Thank you OMG!
Title: Re: Research tab goes blank
Post by: Fluffy (l2032) on February 09, 2016, 06:38:57 PM
You're welcome. Can I count on you to help debug this thing when the next CCL release is ready though? Really need some help in fixing this, as I can't seem to reproduce it on my local install...
Title: Re: Research tab goes blank
Post by: timeandtherani on February 09, 2016, 06:48:34 PM
Heck yeah! Glad to help.
Title: Re: Research tab goes blank
Post by: timeandtherani on February 09, 2016, 06:52:53 PM
@skullywag, can you point me to the other person? I'd like to compare notes.
Title: Re: Research tab goes blank
Post by: skullywag on February 10, 2016, 03:21:58 AM
https://ludeon.com/forums/index.php?topic=17557.0
Title: Re: Research tab goes blank
Post by: lude on February 10, 2016, 11:16:36 AM
Quote from: Fluffy (l2032) on February 09, 2016, 03:27:35 PM
you could potentially go into mods/CCL/defs/MainTabDefs/MainTabs.xml, and comment out the research tab section like so:


<!--
<MainTabDef>
    <defName>Research</defName>
    <label>research</label>
    <description>Examine and decide on research projects.</description>
    <windowClass>CommunityCoreLibrary.MainTabWindow_Research</windowClass>
    <order>90</order>
  </MainTabDef>
-->


(adding the 'arrows')
That'll stop CCL overriding the vanilla research tab. Alternatively, wait for the next CCL release, which will likely still have the bug (because I can't find the darn thing), but handle it more gracefully and - crucially - provide us with a more detailed error dump when it does fail.

I have that ominous error as well, it doesn't throw out any exception, it only rarely happens, in my case it's probably related to HSK modpack, reload doesn't solve the problem only complete restart.

It especially likes to happen after adding a new mod, but this might be magical thinking of mine

anyhow, so far every restart solved it immediately for me
Title: Re: Research tab goes blank
Post by: skullywag on February 10, 2016, 11:57:46 AM
Just to check if you open the game visit rhe modpage it happens. If you close the modpage and the game and start normally its fine?
Title: Re: Research tab goes blank
Post by: hippieshopper on February 11, 2016, 11:52:53 PM
Hey yeah that did it. Honestly my eyes glaze over when I see code and stuff but I tried it and that seemed to fix all my problems.
Adding those little arrow doodads made all the difference.

Thanks so much guys! If I could buy you a beer I would.
Title: Re: Research tab goes blank
Post by: Fluffy (l2032) on February 12, 2016, 02:33:46 AM
guys if this happens after changing anything related to mods, e.g. load order, adding/removing a mod or even opening the mod screen, and the error goes away on a full reload of RimWorld, then what you're seeing is a known issue with rimworld in general; you need to do a restart of the game every time you've fiddled with the mod list.
Title: Re: Research tab goes blank
Post by: timeandtherani on February 12, 2016, 12:32:15 PM
Success!  I commented out the research tab and everything worked.  I even loaded up all the mods I had before and it still works.   Thank y'all for your help!

Yeah, I always restart the game after I add mods. 
Title: Re: Research tab goes blank
Post by: lude on February 14, 2016, 10:49:22 AM
Quote from: skullywag on February 10, 2016, 11:57:46 AM
Just to check if you open the game visit rhe modpage it happens. If you close the modpage and the game and start normally its fine?
you're absolutely right that always this happened I was on the modpage in the main menu