KuiNameplates

KuiNameplates

11M Downloads

[LUA Error] Error With Personal Resource Display On

F-Lambda opened this issue ยท 0 comments

commented

With Blizzard Personal Resrouce Display "on", Blizzard Show Special Resources on Target "on", Kui Ignore personal nameplate "on", and Kui Show default class powers "off", the following error is thrown:

Message: Interface/AddOns/Kui_Nameplates/elements/name.lua:7: bad argument #1 to 'UnitName' (Usage: local unitName, unitServer = UnitName(unit))
Time: Sun Mar  2 10:23:51 2025
Count: 2
Stack:
[Interface/AddOns/Kui_Nameplates/elements/name.lua]:7: in function 'UpdateName'
[Interface/AddOns/Kui_Nameplates_Core/create.lua]:684: in function 'OriginalUpdateNameText'
[Interface/AddOns/Kui_Nameplates_TargetHelper/main.lua]:437: in function 'StatusIcon'
[Interface/AddOns/Kui_Nameplates_Status/Core/Core.lua]:49: in function <Interface/AddOns/Kui_Nameplates_Status/Core/Core.lua:49>
[Interface/AddOns/Kui_Nameplates_Status/Core/Core.lua]:327: in function 'func'
[Interface/AddOns/Kui_Nameplates/messages.lua]:165: in function <Interface/AddOns/Kui_Nameplates/messages.lua:145>
[Interface/AddOns/Kui_Nameplates/messages.lua]:218: in function <Interface/AddOns/Kui_Nameplates/messages.lua:212>

Locals:
f = KuiNamePlate3 {
 LevelText = FontString {
 }
 Highlight = Texture {
 }
 parent = NamePlate3 {
 }
 AbsorbBar = StatusBar {
 }
 bg = Texture {
 }
 TargetGlow = Texture {
 }
 NameOnlyGlow = Texture {
 }
 NameText = FontString {
 }
 elements = <table> {
 }
 state = <table> {
 }
 RaidIcon = Texture {
 }
 animated_bars = <table> {
 }
 Auras = <table> {
 }
 ThreatBrackets = <table> {
 }
 HealthText = FontString {
 }
 StateIcon = Texture {
 }
 handler = <table> {
 }
 GuildText = FontString {
 }
 CastBar = StatusBar {
 }
 SpellIcon = Texture {
 }
 PowerBar = StatusBar {
 }
 SpellName = FontString {
 }
 SpellShield = Texture {
 }
 QuestIcon = Texture {
 }
 CastBarUpdateFrame = Frame {
 }
 BossModAuraFrame = Frame {
 }
 HealthBar = StatusBar {
 }
 ThreatGlow = <table> {
 }
 cast_state = <table> {
 }
}
(*temporary) = <table> {
}