Read twice initial post - still didn't figure out what kind of bugs are you all talking about? I've had some @ 4v Lienne like ability buttons of mortar and grens blended somehow. Also disappeared controls for brit sections: couldn't retreat, throw nade... nothing.
In most instances of the bug, the entire menu will disappear and you will have NO hotkeys for that unit.
Other times, you will get the menu for the previous unit you selected. You will have a UI, but the wrong UI. Example would be your Panzer iV now has sandbag and flamer buttons. So many times, people may not realize they had the bug as long as the menus are similar between the unit being used and the last unit selected.
As I stated before, when I saw the bug it was if I selected units in a certain order, I could recreate the bug every time. If I had 10 units and I selected units 2 then 3 then 7, I would get unit 3's menu. And by clicking unit 8 then unit 7, unit 7s menu would return. This may not be every ones experience though. Others click an empty house and the menu returns. Which again, means click something else then back, but dont click the last unit you selected and come back or the menu may still be bugged.
Just guessing for now...
My original post when I did byte testing:
https://www.coh2.org/topic/102679/ui-for-inf-disappear-ingame/page/2#post_id797469
Code
I am still testing but so far:
1) I took the live map files, did not change anything, did not press SAVE, and recompiled it. Got the UI bug.
2) If I change the scenario name and then recompile, I do not get any UI bugs.
3) Changed the scenario name back to original ID string and recompiled. No UI bugs.
I need to test the LIVE compile files vs unchanged files.
LIVE files renamed and compiled creates four major file differences:
- SCENARIOMARKER
- SBG
- _LAO.DDS
- _TDM.DDS
I used HxD HEX EDITOR to compare files at the byte level. The differences were large.
So saving the files in the worldbuilder seems to fix what ever errors exist in those four files.
No SCAR code changes were found. And as we have seen in Lienne Forest, the SCAR code was not changed but the bug was introduced. So it looks like the binary map files are getting bugged at some point.
More testing to come...