• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Quick (and dirty) fix for the Unit Panel issue

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,721
Location
Near Portsmouth, UK
A quick and dirty fix for the Unit Panel vanishing issue (I'd rather play with a slightly broken UI than have to jump through hoops loading mods again and again and again)

1) Locate the file assets\UI\InGame\WorldView\UnitPanel.lua and open it with a plain text editor (Notepad is good)

2) On (on near) line 106, comment out (or delete)
Code:
        error("Could not find method to obtain action icon.");
eg
Code:
        -- error("Could not find method to obtain action icon.");

3) Do NOT click any button that looks like the ones highlighted in red (the other one says something like "Airlift the unit to the selected city" in the tooltip)

attachment.php


Or any other button that shouldn't be there!!!
 

Attachments

  • UnitPanelFix01.jpg
    UnitPanelFix01.jpg
    90.9 KB · Views: 655
I've had this work both times I've tried it:
Start game, go through mods, load world [see bugged UI], quit to main menu, go through mods again, load world. UI is now fixed.

Loading the world numerous times doesn't seem to help but once I go though the mod selection/configuration again the UI seems to be fixed for any loaded world afterwards.

EDIT: A quicker method.
Launch game, go through mods, once it's done configuring data go back to the main menu then back through mods again. AT this point anything you load will work. (The key is configuring the mod data a second time.)
 
Back
Top Bottom