Bug - bad argument #2 to '?' (Usage: local data = C_TooltipInfo....
izyspania opened this issue ยท 1 comments
Whenever im using the addon im getting this error , mostly in BG but also in arena (probably in other places too but im mostly doing arena and bgs) , the bug starts randomly and it can trigger multiple times , sometimes it doesnt show for an hour or so, i couldnt find anything related in taintlog .
Later edit: Seems that is happening when im clicking on the raid frames.
1x bad argument #2 to '?' (Usage: local data = C_TooltipInfo.GetUnitDebuffByAuraInstanceID(unitTokenString, auraInstanceID [, filter]))
[string "=[C]"]: in function `?'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:248: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:234>
[string "=(tail call)"]: ?
[string "@Blizzard_UnitFrame/Mainline/CompactUnitFrame.lua"]:2646: in function `UpdateTooltip'
[string "@Blizzard_GameTooltip/Mainline/GameTooltip.lua"]:421: in function <Blizzard_GameTooltip/Mainline/GameTooltip.lua:414>
Locals:
(*temporary) = "bad argument #2 to '?' (Usage: local data = C_TooltipInfo.GetUnitDebuffByAuraInstanceID(unitTokenString, auraInstanceID [, filter]))"
The bug is in BigDebuffs.xml with GameTooltip:SetSpellByID(self.spellId); , you can reproduce this also by using "Toggle Test Mode" then put your mouse over the icons in a raid frame to see the tooltips, removing the 2 lines with SetSpellByID fixes the issue but no more tooltips (i like it but yeah, its a bug)