UI disappears on MacOS

Started by ryjii, May 06, 2018, 03:41:08 PM

Previous topic - Next topic

ryjii

1 - What the circumstances were.
Nothing special.

2 - What happened.
The bottom menu bar suddenly disappeared along with the resources info on the right top side. Also when information popups appear they stay on the screen.
Colonists icons are still there. Clicking on one of the colonists takes me to the world map where I can see the bottom menu. Clicking on one of the bottom menu buttons takes me back to the base view and shows the relevant tab as open and it can be interacted with somewhat - anything that's on screen can be used, anything that requires a sub menu to popup (like building things) does not work.
The repeating errors also stop appearing when I'm out on the world map with the visible menu.
Screenshot - https://www.dropbox.com/s/1pp41ovhgg4a3mg/Screen%20Shot%202018-05-06%20at%2022.27.22.png?dl=0

3 - What you expected to happen.
Menus wouldn't disappear.

4 - Log File.
See below.

5 - Your Mod List.
Logs and mod list link below
https://git.io/vprXV

6 - Save files.
My save file can be downloaded from here https://www.dropbox.com/s/rinp7rid45xvv9y/Lenottown-at-the-cave%20%28Permadeath%29.rws?dl=0

7 - What steps you have already taken to identify the mod causing the bug.
I have tried reloading the save, reloading the game, restarting the computer.
Removing all mods doesn't help either.
Tried scrolling to different parts of the screen on the map.
Tried to start a new game with the same mods and the menus appear fine. Loading a different save with no mods also works fine. So it might be that this particular save is corrupted somehow.

Canute

Hi,
the log is full of the same error, but unfortunately no special modname is shown.
But since the most mod you use are pretty common, try to deactive
RimQuest:
RimStory:
Pharmacist:

one by one or all at once.
And look if you can load the game and if it helps.

ryjii

Hi.
Tried turning them all at once, then one by one. No luck unfortunately.

Also started a new game with the same mods and got the same issue about 40 minutes in. So it seems to be recurring.

Razuhl

It reports an error in a "GameCondition", thats a "volcanic winter" or "cold snap" incident. The label for the event would be rendered on the lower right side above the temperature so any of the following stuff would not be rendered and on the world map it won't appear.

Did you get a letter that informed you about an incident happening? If you can save a game after the bug happened you can look into the text file to search for something like:

<gameConditionManager>
   <activeConditions>
      <li Class="GameCondition_VolcanicWinter">
         <def>VolcanicWinter</def>
         <startTick>76472</startTick>
         <duration>1917423</duration>
      </li>
   </activeConditions>
</gameConditionManager>

The "Class" entry could give you a better idea of what mod is involved.

ryjii

I tried playing again to get the same bugIt seems that with a specific world on a specific map it happens much more quickly. This log actually shows the error the first time it happens.
https://git.io/vpoYS
Saves for the above log:
Just before the bug https://www.dropbox.com/s/2na8slp8pkt8pft/SaveBeforeBug.rws?dl=0
Just after the bug https://www.dropbox.com/s/0ubtbfan1md6h4l/New%20Arrivals4.rws?dl=0

Razuhl, you are right. I can see in both saves with the bug an active condition. I did not see a condition message when playing. First one was cold snap, the latest playthrough with logs just above in this message has heat wave. Log just before the bug does not have an active condition.
Actual conditions in the saves - <li Class="GameCondition_ColdSnap" /> and <li Class="GameCondition_HeatWave" />
Removing the condition from the save fixes the issue! Adding the "def", "startTick" and "duration" parameters fixes the issue too and the condition remains in the game.
It seems that the condition is not created fully. However these seem to be part of the core. Do you have any ideas on what mod could be causing the issue?

Quote from: Razuhl on May 07, 2018, 04:36:57 AM
It reports an error in a "GameCondition", thats a "volcanic winter" or "cold snap" incident. The label for the event would be rendered on the lower right side above the temperature so any of the following stuff would not be rendered and on the world map it won't appear.

Did you get a letter that informed you about an incident happening? If you can save a game after the bug happened you can look into the text file to search for something like:

<gameConditionManager>
   <activeConditions>
      <li Class="GameCondition_VolcanicWinter">
         <def>VolcanicWinter</def>
         <startTick>76472</startTick>
         <duration>1917423</duration>
      </li>
   </activeConditions>
</gameConditionManager>

The "Class" entry could give you a better idea of what mod is involved.
.

Razuhl

When looking at the log there is a harmony patch from RimStory that ties into the GameCondition code:

GameCondition.Init: post: RimStory.Harmony.IncidentWorkerHookLong.Postfix

When removing the mod after the save was fixed it maybe won't spawn invalid objects anymore. You should be able to test that by using the dev tools to spawn in something like a heat wave.

ryjii

It seems you are right again. Your suggestion works. Thanks for the quick help!