`attempt to concatenate local 'icon' (a nil value)` on latest WoTLK patch
caspervk opened this issue ยท 5 comments
Game and Plater version
Plater-v560.4-Wrath - DF v434 - 3.4.2
Describe the bug
Happens occasionally during the new Heroic++ dungeons.
Lua Error
46x Plater/Plater_Auras.lua:796: attempt to concatenate local 'icon' (a nil value)
[string "@Plater/Plater_Auras.lua"]:796: in function `ConsolidateAuraIcons'
[string "@Plater/Plater_Auras.lua"]:968: in function `AlignAuraFrames'
[string "@Plater/Plater.lua"]:6704: in function <Plater/Plater.lua:6532>
Locals:
self = NamePlate13PlaterUnitFrameBuffFrame1 {
0 = <userdata>
NextAuraIcon = 3
unitFrame = NamePlate13PlaterUnitFrame {
}
amountAurasShown = 2
HasDebuff = true
isNameplate = true
OnBackdropLoaded = <function> defined @SharedXML/Backdrop.lua:152
namePlateUnitReaction = 3
ExtraIconFrame = NamePlate13PlaterUnitFrameExtraIconRow {
}
GetBackdropColor = <function> defined @SharedXML/Backdrop.lua:390
SetupTextureCoordinates = <function> defined @SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = <function> defined @SharedXML/Backdrop.lua:182
HasBackdropInfo = <function> defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:422
unit = "nameplate5"
HasBuff = false
SetAlphaTo = <function> defined @Plater/Plater.lua:9054
GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
healthBar = NamePlate13PlaterUnitFrameHealthBar {
}
FadeAnimation = AnimationGroup {
}
SetBorderBlendMode = <function> defined @SharedXML/Backdrop.lua:266
ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
Name = "Main"
GetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:409
GetBackdrop = <function> defined @SharedXML/Backdrop.lua:347
AuraCache = <table> {
}
SetupPieceVisuals = <function> defined @SharedXML/Backdrop.lua:246
SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
PlaterBuffList = <table> {
}
BuffFrame2 = NamePlate13PlaterUnitFrameBuffFrame2 {
}
}
iconFrameContainer = <table> {
1 = NamePlate13PlaterUnitFramePlaterMainAuraIcon1 {
}
2 = NamePlate13PlaterUnitFramePlaterMainAuraIcon2 {
}
3 = NamePlate13PlaterUnitFramePlaterMainAuraIcon3 {
}
4 = NamePlate13PlaterUnitFramePlaterMainAuraIcon4 {
}
5 = NamePlate13PlaterUnitFramePlaterMainAuraIcon5 {
}
}
amountFramesShown = 2
aurasDuplicated = <table> {
Shadow Imbuement136123 = <table> {
}
}
(for index) = 2
(for limit) = 2
(for step) = 1
i = 2
iconFrame = NamePlate13PlaterUnitFramePlaterMainAuraIcon2 {
0 = <userdata>
ModRate = 1
OnBackdropLoaded = <function> defined @SharedXML/Backdrop.lua:152
GetBackdropColor = <function> defined @SharedXML/Backdrop.lua:390
IsProtected = <function> defined @Plater/Plater.lua:11420
BorderMask = MaskTexture {
}
AuraType = "none"
ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
ScriptGetContainer = <function> defined @Plater/Plater.lua:11130
ScriptRunInitialization = <function> defined @Plater/Plater.lua:11298
auraInstanceID = 2
ScriptRunOnShow = <function> defined @Plater/Plater.lua:11259
PixelSnapDisabled = true
HookGetInfo = <function> defined @Plater/Plater.lua:11142
isBuff = false
ShowAnimation = <table> {
}
SetupTextureCoordinates = <function> defined @SharedXML/Backdrop.lua:214
IconMask = MaskTexture {
}
TopRightCorner = Texture {
}
TimerText = FontString {
}
Icon = Texture {
}
GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
TopEdge = Texture {
}
formatWithDecimals = false
RefreshID = 6
StackText = FontString {
}
BottomRightCorner = Texture {
}
SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
spellId = 415672
Border = Texture {
}
ScriptRunOnHide = <function> defined @Plater/Plater.lua:11282
ScriptRunHook = <function> defined @Plater/Plater.lua:11319
ScriptRunOnUpdate = <function> defined @Plater/Plater.lua:11239
ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
AuraAmount = 1
Caster = "player"
GetBackdropBorderColor = <function> defined @Int
I see there are some unreleased changes in master. Apologies if this is already fixed.
Are there other errors in BugSack?
All changes are always available as alpha versions, so you can try those.
I have this error 13 times in BugSack as the only one. These new Heroic++ dungeons do add new abilities, so it could very well be buffs without icons. Here's some logs, I don't know if it helps: https://classic.warcraftlogs.com/reports/KWgz6HyNZxrBDXa1/. I can also run Transcriptor.