I fixed it by manually checking that there are no overlapping buttons and making sure that no incorrect requirements from other dependencies were messing up the unit.
Additionally, do you know of a good way to edit the hotkeys for your buttons?
You can set them in the file: 'C:\Users\NAME\Documents\StarCraft II\Maps\MAP_NAME\Maps\MAP_NAME\enUS.SC2Data\LocalizedData\GameHotkeys.txt'.
For example if you have a button named 'Charge' that you want to assign hotkey 'C' to, you add an entry in that file that is: 'Button/Hotkey/Charge=C'.
After saving those changes (and possibly reloading the editor to include them) you're button in the data module should have its field 'UI: Hotkey^ > Text Key' set to 'Button/Hotkey/Charge', and the 'Hotkey' value set to 'C'.
Note: If this button isn't a unique (new) button, its hotkey path may already be set in this file, and you will just want to replace its hotkey with your desired one--you don't want two hotkey entries for the same button path.
Why do the buttons change? Like the forge disappears, the shield battery is duplicated and the khaydarin monolith disappears? Look in attachments below. The hotkeys also have problems which I also made a post about: https://www.sc2mapster.com/forums/development/data/246758-hotkey-problems
Could be dependencies conflict.
It happened before.
I was using WoL, edited the buttons.
But for some reason I ended up adding LotV dependency.
Some buttons overlapped, some missing.
I had to manually fix it.
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
Thanks,
I fixed it by manually checking that there are no overlapping buttons and making sure that no incorrect requirements from other dependencies were messing up the unit.
Additionally, do you know of a good way to edit the hotkeys for your buttons?
You can set them in the file: 'C:\Users\NAME\Documents\StarCraft II\Maps\MAP_NAME\Maps\MAP_NAME\enUS.SC2Data\LocalizedData\GameHotkeys.txt'.
For example if you have a button named 'Charge' that you want to assign hotkey 'C' to, you add an entry in that file that is: 'Button/Hotkey/Charge=C'.
After saving those changes (and possibly reloading the editor to include them) you're button in the data module should have its field 'UI: Hotkey^ > Text Key' set to 'Button/Hotkey/Charge', and the 'Hotkey' value set to 'C'.
Note: If this button isn't a unique (new) button, its hotkey path may already be set in this file, and you will just want to replace its hotkey with your desired one--you don't want two hotkey entries for the same button path.