Cairath / ONI-Mods

Mods for Oxygen Not Included
https://forums.kleientertainment.com/forums/topic/94120-mods-cairaths-mod-corner
136 stars 41 forks source link

'Planned Buildings Without Materials' causes toolbar animation upon loading a save to not play. #162

Open undeadbanana opened 1 year ago

undeadbanana commented 1 year ago

Describe the bug Upon reloading a game (doesn't happen after starting new game), the toolbar animation in the bottom left doesn't fails to play so technology which is researched gets locked in the top position and unlearned tech is locked in bottom position.

To Reproduce Steps to reproduce the behavior:

  1. Enable only this mod.
  2. Start a new game.
  3. Save, then go to Main Menu.
  4. Load game and toolbar buttons will be misaligned.

Expected behavior Upon game loading, the tool buttons do a little animation then align themselves, similar to animation played when starting a new game.

Screenshots https://i.imgur.com/dxHjOrg.png

Additional context edit: I feel like I added too much. I just noticed the bug a few weeks ago and finally decided to single out the mod in my 120 something modlist. Found out there's actually another one that 'causes this same issue, Closest Material, so please ignore a duplicate report on their github. (Just to confirm, I went ahead and started an entirely new game with only this mod enabled and was able to reproduce the bug. Did the same for that mod.) edit 2: Forgot to mention that I've deleted mod folder/verified integrity/and used your mod loader to force update earlier before finally getting to testing.

Output log If applicable (game crashes or displays errors) please copy and paste part of the output_log.txt game file that contains information about the crash/error.

Kiefy commented 1 year ago

I came to the same conclusion after going through all my mods to find the culprit.

slippycheeze commented 8 months ago

I debugged through to find the mod "Plan Buildings without Materials", alone, when enabled would cause the mispositioned build menu items.

I tested my one theory about what might trigger the problem, and changed the prefix patch to a postfix patch so that any side-effects of (other patches to) the accessor were preserved, but it made no difference. (Probably unsurprising, given the base game code, but still...)

So, I can't see /why/ this triggers the problem, but can confirm that it does.

kamilrogo commented 3 months ago

I have the same issue for few years now :/ There is one temporary way to fix it (changing UI Scale in Graphics Options), but it breaks again after loading new game.