After a year or so of in-game time my Comms console suddenly doesn't seem to be working. I select a character and right-click the console but nothing comes up. After starting Dev mode this error came up:
Object reference not set to an instance of an object
at RimWorld.Building_CommsConsole.GetFloatMenuOptions (Verse.Pawn myPawn) [0x00000] in <filename unknown>:0
at RimWorld.FloatMenuMakerMap.AddHumanlikeOrders (Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1 opts) [0x00000] in <filename unknown>:0
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (Vector3 clickPos, Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at RimWorld.Selector.HandleMapClicks () [0x00000] in <filename unknown>:0
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <filename unknown>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x00000] in <filename unknown>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <filename unknown>:0
at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0
In case this is important, here's a list of my mods:
- Core
- HugsLib
- Where is rich soil?
- Vegetable Garden
- RIMkea
- Fences And Floors
- MineItAll
- Additional Joy Objects
- [FSF] Buildable Terrain A16
- [sd] bridges
- Allow Tool
- EdB Prepare Carefully
Any help would be great, thanks.
There have been several errors reported in recent week relating to the Comm Console. Here are some of the threads.
https://ludeon.com/forums/index.php?topic=29439.0
https://ludeon.com/forums/index.php?topic=29102.0
https://ludeon.com/forums/index.php?topic=29009.0
https://ludeon.com/forums/index.php?topic=28420.msg286878#msg286878
The only solution offered is in the post linked to the bottom link. Where it mentions ensuring that each faction has a faction leader. Although I don't know enough about modding, and mod errors, to know if this is the cause of your problem, but the log extract given in the OP of that thread looks similar to yours. (if it's not the same problem then it will probably help if you post your full log file and not just an extract, as the rest of it might contain some pertinent information).
Yep, did you happen to try to tidy your save file of world pawns by any chance? if you did you deleted the faction leaders and thats now causing the comms console to bork.
Quote from: skullywag on January 18, 2017, 05:21:51 AM
Yep, did you happen to try to tidy your save file of world pawns by any chance? if you did you deleted the faction leaders and thats now causing the comms console to bork.
Did some more testing this morning checked through my save file and found i have a leader for each faction. Except the ones added by Call of Cthulhu. These factions have a "null" entry for their monsters factions. Don't have time to unchecked mod and see if it fixes but the guy above dose not have that mod so i don't think it is.
Also Started a new save turned on god mode and first thing droped down Comms Console. Same error when interacting. Object reference not set to an instance of an object.
Any thoughts?
@ Lord_Orion - It would be helpful if you could please post your full log file as an attachment. It would also help if you could please keep your posts on this issue to a single thread, as you appear to have posted various bits of the same problem in three separate threads now, which makes things unnecessarily difficult to follow.
If the problem mod can't be identified from your mod list (which will be seen when you post your log file), then you will probably need to find the time to troubleshoot this yourself. Which it sounds like you have already started to do by creating a new game with all your mods activated, and god moding a comms console. So all you need to do is repeat that process, but deactivating mods one by one until the problem mod is located.
Try removing Cthulu or any other mods that mess with factions until you have a working comms console, then go to that mods thread, search to see if the error has been reported, if not report it.
I have the same error, hope somebody can help
error
https://gist.github.com/e2297ee2730f8fa148b461ad6446f16b
Object reference not set to an instance of an object
at ImTheWorkerNow.Building_CommsConsole_Detour.GetFloatMenuOptions (RimWorld.Building_CommsConsole building, Verse.Pawn myPawn) [0x00000] in <filename unknown>:0
at AlienRace.MenuMakerMapRestricted.AddHumanlikeOrders (Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1 opts) [0x00000] in <filename unknown>:0
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (Vector3 clickPos, Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at RimWorld.Selector.HandleMapClicks () [0x00000] in <filename unknown>:0
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <filename unknown>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x00000] in <filename unknown>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <filename unknown>:0
at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0
I remember reading that the Crystalloid mod caused this issue due to a missing faction leader.
I also experienced the same error.
Can fixed the problem by correcting RWS file.
(If you repair in the same way please make a backup of the RWS file before you do.)
1. Open the RWS file here (notepad.exe, etc ..)
C:\Users\Username\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves
2. Search "<def>Pirate</def>"
You should see <leader>null</leader> above the <def>Pirate</def>.
(example)
<li>
<leader>null</leader> ← Problem line
<avoidGridsBasic>
<keys/>
<values/>
</avoidGridsBasic>
<avoidGridsSmart>
<keys/>
<values/>
</avoidGridsSmart>
<def>Pirate</def> ← Character to be searched
<name>"Pirates name"</name>
<loadID>6</loadID>
3. Change the faction leader from "null" to "Thing_Human***".
The part of *** must enter the number of the human who is alive now.
(Because I was hard to find this number, I input it the same number as Tribe leader.)
4. Please load the modified RWS file at Rimworld. and check the faction leader and comms console.
Since I am not good at English, I wrote this sentence by Google translate.
I am sorry if it is difficult to read.