Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
153 stars 7 forks source link

Action bar state broken on login/reload #575

Closed p3lim closed 1 month ago

p3lim commented 1 month ago

Whenever I reload I get this error:

Message: ...rface/AddOns/Blizzard_ActionBar/ActionButtonUtil.lua:140: attempt to call global 'ActionBarController_GetCurrentActionBarState' (a nil value)
Time: Fri May 17 12:00:06 2024
Count: 1
Stack: ...rface/AddOns/Blizzard_ActionBar/ActionButtonUtil.lua:140: attempt to call global 'ActionBarController_GetCurrentActionBarState' (a nil value)
[string "@Interface/AddOns/Blizzard_ActionBar/ActionButtonUtil.lua"]:140: in function `GetActionBarsForSpell'
[string "@Interface/AddOns/Blizzard_ActionBar/ActionButtonUtil.lua"]:99: in function `IsSpellOnAnyActiveActionBar'
[string "@Interface/AddOns/Blizzard_ZoneAbility/ZoneAbility.lua"]:119: in function `UpdateDisplayedZoneAbilities'
[string "@Interface/AddOns/Blizzard_ZoneAbility/ZoneAbility.lua"]:81: in function <...nterface/AddOns/Blizzard_ZoneAbility/ZoneAbility.lua:65>

Locals: spellID = 439052
excludeNonPlayerBars = true
bars = <table> {
}
anyBars = false
slots = <table> {
 1 = 67
}
vehicleBarPage = 16
overrideBarPage = 18
tempShapeshiftBarPage = 17
currentBonusBarIndex = 11
(*temporary) = nil
(*temporary) = "attempt to call global 'ActionBarController_GetCurrentActionBarState' (a nil value)"

Seems to be a load order issue.

Retail build 54736.

JourneyOver commented 1 month ago

Glad I'm not the only one. Can confirm that this is def a bug as it's also happening without any addons.

fs2597 commented 1 month ago

If it helps, this only started happening for me after I dragged the MoP Remix abilities (Extract Gem, Unraveling Sands) onto regular action buttons.

p3lim commented 1 month ago

Seems to be fixed in build 54847, they added Blizzard_ActionBarController as a dep to Blizzard_ZoneAbility. https://github.com/BigWigsMods/WoWUI/commit/8f60f76b9c4ee951432ad38bd593329e1f7946f1