AaronCRobinson / ExpandedRoofing

RimWorld Mod - expands roofing types and options
MIT License
9 stars 13 forks source link

Vanishing UI after Research #27

Open Tschuangtse opened 4 years ago

Tschuangtse commented 4 years ago

Dear modder, dear contributers,

I encountered a strange bug using this mod in Rimworld 1.1.2579 I would like to report it for further inspection.

What is the bug? Plainly, the bug causes UI elements to vanish, like the toggle for powering on or off a machine or device. The button hotkey becomes unresponsive. Further, if you open the Zone-Menu the "menu-box" (Zones, Production, Misc etc) vanishes and the UI becomes mostly unresponsive. The game cannot be salvaged, reloading a save created after the bug was triggered will not help. Removing the mod, however, to returning to an older save game previous to any research from the mod, works.

How is it reproduced? The bug occurs without exception the moment I finish a research added by this mod. It does not make a difference which research I picked for my testing. The moment the first research is done my UI vanishes. This remains the case even if all other research has been finished, including other roof types added by the mod.

What steps have already been taken? I tried multiple versions of the mod, including Mlie's Steam Uploads as well as this original repository. I moved the mod up and down in my load order, and verified the right version of harmony was in place at the very top. I tried on multiple days, reactivating the mod and deactivating it multiple times. An error log was not thrown, apparently.

Lastly, I do not have any experience with this mod prior to 1.1. It was meant as a replacement for Dub's Syklight. I do not own the Royalty DLC, if it makes a difference.

Kind regards Tschuangtse

Pictures added to illustrate the missing UI. After Research 2 After Research

AaronCRobinson commented 4 years ago

Thanks for the bug report. I am currently not playing the game very much but will try to look into this further. If you can turn on the dev console and get any errors produced there when trigging the bug, that information would be the most useful. I will get back to you when I have more details. Thank you.

AaronCRobinson commented 4 years ago

Did you sign-up for github to just file this report? Great job if so.

You're name sounds Tibetan, are you by chance in any part of tradtional Tibet? If so, I may be quite near to you.

Tschuangtse commented 4 years ago

Hello Aaron,

yes, I signed up just for this. Well, mostly. In general I started giving more feedback to devs latlely, this was the first case GitHub was required for that.

I reenabled the mod to get you the log. The bug still occurs as expected. However, while the game pauses and opens the log, there is no entrie in it. NoLog

As for the name: I am not tibetan, infact, I am from germany, europe. It refers to an asian philosopher I studied when I was 14 years old (way to many years ago) and had a strong facination with several asian cultures. (Buildingstyle, peotry, histroy...)

Anyhow, may the lack of actual log not ruin your day and many thanks in advance.

AaronCRobinson commented 4 years ago

One other follow-up on this, can I get the modlist you are using? You might easily be able to cut and past it from C:\Users\[username]\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config\ModsConfig.xml. I still don't know about this bug but I haven't had much time to play around either.

Tschuangtse commented 4 years ago

Hello Aaron, sorry for keeping you waiting, I was busy: I got myself another set of hardware, installed the current version of windows 10 pro (original test von home), installed Rimworld and all my mods. The issue was still there, so that's something.

Furthermore I got you my modlist, twice, actually. One time the way the game currently loads the mods, aka my config.xml file. For ease of use I also formated that list by name. Both files are attached.

Since github does not allow xml files as attachments please use the archived version. RequestedFiles_ExpandedRoofing.zip

I hope those informations help you out. My modlist is ever changing. There are few items in there which remain for longer than a few weeks. I am assuming at this point, as are you, I'm certain, that there is an incompatible mod causing the issue at hand. Sadly, I cannot go through them and test one by one. However, if you can provide your mods (aka what you tested with) I can eliminate those already and it might become just manageable.

Kind regards Tschuangtse

Richardo228 commented 3 years ago

I have a similar issue with 1.1.1 version of the mod, except that it's throwing repeating Root level exception in OnGUI(): System.NullReferenceException errors. Also, the button for thick stone roofing is missing, so I assume that it's a bug in its code. I was using this mod in 1.0 and unless You have changed the recipe, it may be a conflict with mods adding new stone resources or the Vanilla Iron and Steel mod. The only new stone resources that I have is hempcrete from smokeleaf industry reborn, bricks from fertile fields and cinder bloks from the concrete mod. I've used the first two mods before, so I assume that it's either Iron and steel or concrete. Edit: tested with only these mods, everything is fine

Edit 2: the issue fixed itself either after removal of pawn badges mod, or after reloading the save.

Here is the full error text and the mods used ModsConfig.zip

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object at ThingBegone.Core.Designator_Build_Patch.Postfix (RimWorld.Designator_Build instance, System.Boolean& result) [0x00010] in <668476d348d645b6aa40cb7f0865c77b>:0 at (wrapper dynamic-method) RimWorld.Designator_Build.DMD<DMD?187356032::get_Visible_Patch5>(RimWorld.Designator_Build) at (wrapper dynamic-method) Verse.GizmoGridDrawer.DMD<DMD?-208591872::DrawGizmoGrid_Patch1>(System.Collections.Generic.IEnumerable`1,single,Verse.Gizmo&) at RimWorld.ArchitectCategoryTab.DesignationTabOnGUI () [0x0005a] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 at RimWorld.MainTabWindow_Architect.ExtraOnGUI () [0x0000e] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 at (wrapper dynamic-method) Verse.WindowStack.DMD<DMD?44996992::WindowStackOnGUI_Patch0>(Verse.WindowStack) at (wrapper dynamic-method) RimWorld.UIRoot_Play.DMD<DMD?-559979904::UIRootOnGUI_Patch0>(RimWorld.UIRoot_Play) at (wrapper dynamic-method) Verse.Root.DMD<DMD?1737353600::OnGUI_Patch1>(Verse.Root) Verse.Log:Error(String, Boolean)

Verse.Root:DMD<DMD?1737353600::OnGUI_Patch1>(Root)