Tooltip causing LUA errors with no addons loaded (except bugsack)

140x ...ddOns/Blizzard_SharedXMLGame/Tooltip/TooltipUtil.lua:39: bad argument #1 to '?' (Usage: local unitName, unitServer = UnitName(unit). Secret values are only allowed during untainted execution for this argument.)
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:298: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:245>
[C]: in function 'securecallfunction'
[Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:242: in function 'ProcessInfo'
[Blizzard_GameTooltip/Mainline/GameTooltip.lua]:997: in function 'SetWorldCursor'
[Blizzard_UIParent/Mainline/UIParent.lua]:1274: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1194>


Locals:
self=GameTooltip <GameTooltip.xml:249>{
 ItemTooltip=Frame <GameTooltip.xml:254>
 BottomOverlay=Texture <SharedTooltipTemplates.xml:28>
 NineSlice=Frame <SharedTooltipTemplates.xml:19>
 suppressAutomaticCompareItem=false
 textLeft1Font="GameTooltipHeaderText"
 textRight2Font="GameTooltipText"
 TopOverlay=Texture <SharedTooltipTemplates.xml:23>
 TextLeft1=GameTooltipTextLeft1 <SharedTooltipTemplates.xml:35>
 supportsDataRefresh=true
 processingInfo=<table>
 infoList=<table>
 waitingForData=false
 shoppingTooltips=<table>
 updateTooltipTimer=0.017000
 StatusBar=GameTooltipStatusBar <GameTooltip.xml:9>
 TextRight1=GameTooltipTextRight1 <SharedTooltipTemplates.xml:36>
 supportsItemComparison=true
 textLeft2Font="GameTooltipText"
 layoutType="TooltipDefaultLayout"
 textRight1Font="GameTooltipHeaderText"
 TextRight2=GameTooltipTextRight2 <SharedTooltipTemplates.xml:42>
 TextLeft2=GameTooltipTextLeft2 <SharedTooltipTemplates.xml:41>
}
info=<table>{
 getterName="GetWorldCursor"
 fadeOut=true
 tooltipData=<table>
}
tooltipData=<table>{
 dataInstanceID=25583
 type=2
 guid=<no value>
 lines=<table>
 healthGUID=<no value>
}
tooltipType=2
C_TooltipInfo=<table>

2 Likes

I’m getting that same LUA error too. F’n annoying. But ive been getting base UI errors since before Midnight launched.

1 Like

Also having a very similar issue when hovering over essentially any enemy/NPC in a raid (specifically in LFR Aberrus).

Message: ...ddOns/Blizzard_SharedXMLGame/Tooltip/TooltipUtil.lua:39: bad argument #1 to '?' (Usage: local unitName, unitServer = UnitName(unit). Secret values are only allowed during untainted execution for this argument.)
Time: Wed Apr 22 07:16:33 2026
Count: 15
Stack:
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipUtil.lua]:39: in function 'GetDisplayedUnit'
[Interface/AddOns/SilverDragon/outputs/tooltip.lua]:43: in function <Interface/AddOns/SilverDragon/outputs/tooltip.lua:41>
[tail call]: ?
[C]: in function 'securecallfunction'
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:67: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:62>
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:87: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:83>
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:123: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:113>
[C]: in function 'SetAttribute'
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:148: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:141>
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:298: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:245>
[C]: in function 'securecallfunction'
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:242: in function 'ProcessInfo'
[Interface/AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua]:997: in function 'SetWorldCursor'
[Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua]:1274: in function <...rface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua:1194>

Locals:
tooltip=GameTooltip <GameTooltip.xml:249>{
 processingInfo=<table>
 infoList=<table>
 shoppingTooltips=<table>
 updateTooltipTimer=0.200000
 ItemTooltip=Frame <GameTooltip.xml:254>
 StatusBar=GameTooltipStatusBar <GameTooltip.xml:9>
 TextRight1=GameTooltipTextRight1 <SharedTooltipTemplates.xml:36>
 supportsItemComparison=true
 supportsDataRefresh=true
 textLeft2Font="GameTooltipText"
 BottomOverlay=Texture <SharedTooltipTemplates.xml:28>
 NineSlice=Frame <SharedTooltipTemplates.xml:19>
 textLeft1Font="GameTooltipHeaderText"
 textRight2Font="GameTooltipText"
 TopOverlay=Texture <SharedTooltipTemplates.xml:23>
 layoutType="TooltipDefaultLayout"
 TextLeft1=GameTooltipTextLeft1 <SharedTooltipTemplates.xml:35>
 textRight1Font="GameTooltipHeaderText"
 TextRight2=GameTooltipTextRight2 <SharedTooltipTemplates.xml:42>
 TextLeft2=GameTooltipTextLeft2 <SharedTooltipTemplates.xml:41>
}
tooltipData=<table>{
 dataInstanceID=1777
 type=2
 guid=<no value>
 lines=<table>
 healthGUID=<no value>
}
guid=<no value>
unit=<no value>

Already seen many bug reports about the tooltip LUA error.

This is broken since Midnight beta and Blizzard ignored all reports for 6 months now.

Man, me too… Killing me

Makes raiding very interesting.

Message: …ddOns/Blizzard_SharedXMLGame/Tooltip/TooltipUtil.lua:39: bad argument #1 to ‘?’ (Usage: local unitName, unitServer = UnitName(unit). Secret values are only allowed during untainted execution for this argument.)
Time: Wed Apr 22 20:42:44 2026
Count: 4
Stack:
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipUtil.lua]:39: in function ‘GetDisplayedUnit’
[Interface/AddOns/PetTracker/addons/main/features/tooltips.lua]:15: in function <…/AddOns/PetTracker/addons/main/features/tooltips.lua:14>
[tail call]: ?
[C]: in function ‘securecallfunction’
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:67: in function <…lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:62>
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:87: in function <…lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:83>
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:123: in function <…lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:113>
[C]: in function ‘SetAttribute’
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:148: in function <…lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:141>
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:298: in function <…lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:245>
[C]: in function ‘securecallfunction’
[Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua]:242: in function ‘ProcessInfo’
[Interface/AddOns/Blizzard_GameTooltip/Mainline/GameTooltip.lua]:997: in function ‘SetWorldCursor’
[Interface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua]:1274: in function <…rface/AddOns/Blizzard_UIParent/Mainline/UIParent.lua:1194>

Locals:
tooltip=GameTooltip GameTooltip.xml:249{
ItemTooltip=Frame GameTooltip.xml:254
RightEdge=Texture NineSlice.lua:52
BottomOverlay=Texture SharedTooltipTemplates.xml:28
NineSlice=Frame SharedTooltipTemplates.xml:19
TopEdge=Texture NineSlice.lua:52
LeftEdge=Texture NineSlice.lua:52
textLeft1Font=“GameTooltipHeaderText”
TopOverlay=Texture SharedTooltipTemplates.xml:23
TextLeft1=GameTooltipTextLeft1 SharedTooltipTemplates.xml:35
processingInfo=
infoList=
Center=Texture NineSlice.lua:52
supportsDataRefresh=true
BottomEdge=Texture NineSlice.lua:52
BottomRightCorner=Texture NineSlice.lua:52
ttCount=FontString ttItemRef.lua:398
BottomLeftCorner=Texture NineSlice.lua:52
TopRightCorner=Texture NineSlice.lua:52
TopLeftCorner=Texture NineSlice.lua:52
backdropInfo=
shoppingTooltips=
ttIcon=Texture ttItemRef.lua:394
textLeft2Font=“GameTooltipText”
updateTooltipTimer=0.200000
StatusBar=GameTooltipStatusBar GameTooltip.xml:9
TextRight1=GameTooltipTextRight1 SharedTooltipTemplates.xml:36
supportsItemComparison=true
textRight1Font=“GameTooltipHeaderText”
TextRight2=GameTooltipTextRight2 SharedTooltipTemplates.xml:42
TextLeft2=GameTooltipTextLeft2 SharedTooltipTemplates.xml:41
textRight2Font=“GameTooltipText”
}
tooltipData={
dataInstanceID=5254
type=2
guid=
lines=
healthGUID=
}
guid=
unit=

After yesterday’s patch it’s considerably worse.

Got this one all the time in Delves, nasty bug. Seems instances in general trigger it.

1 Like

Wife is experiencing the same thing. Deleted Cache/WTF, Scan and Repaired, only happening in instanced content.. Nothing worked. I don’t have the issue but am suffering from extreme lag in the world in general but not having the LUA error

There are a bunch of secret values that are only secret in instanced content.