Roth UI

Roth UI

37.4k Downloads

LUA Error related to Nameplates - Hunter Only

Baine opened this issue ยท 0 comments

commented

Greetings :)

I'm getting this LUA Error on my Hunter:

3x Frame:GetScaledRect(): Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: Frame:GetScaledRect().
Lua Taint: Roth_UI
[string "=[C]"]: in function `GetScaledRect'
[string "@SharedXML/FrameUtil.lua"]:171: in function `GetUnscaledFrameRect'
[string "@SharedXML/LayoutFrame.lua"]:379: in function <SharedXML/LayoutFrame.lua:378>
[string "@SharedXML/LayoutFrame.lua"]:412: in function `Layout'
[string "@Blizzard_UIWidgets/Blizzard_UIWidgetManager.lua"]:183: in function `layoutFunc'
[string "@Blizzard_UIWidgets/Blizzard_UIWidgetManager.lua"]:563: in function `UpdateWidgetLayout'
[string "@Blizzard_UIWidgets/Blizzard_UIWidgetManager.lua"]:529: in function `ProcessAllWidgets'
[string "@Blizzard_UIWidgets/Blizzard_UIWidgetManager.lua"]:245: in function `RegisterForWidgetSet'
[string "@FrameXML/CompactUnitFrame.lua"]:1319: in function `CompactUnitFrame_UpdateWidgetSet'
[string "@FrameXML/CompactUnitFrame.lua"]:422: in function `CompactUnitFrame_UpdateAll'
[string "@FrameXML/CompactUnitFrame.lua"]:242: in function `CompactUnitFrame_SetUnit'
[string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:546: in function `OnAdded'
[string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:142: in function `OnNamePlateAdded'
[string "@Blizzard_NamePlates/Blizzard_NamePlates.lua"]:78: in function <...eBlizzard_NamePlates/Blizzard_NamePlates.lua:69>

Locals:
(*temporary) = Frame {
 FadeOutAnim = AnimationGroup {
 }
 OnLeave = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:112
 Label = FontString {
 }
 OutAnimFinished = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:218
 tooltipLoc = 0
 ApplyEffectToFrame = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:182
 tooltipYOffset = 0
 GetWidgetWidth = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:207
 widgetType = 2
 ClearEffects = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:171
 GetWidgetHeight = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:211
 ShouldApplyEffectsToSubFrames = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:167
 SetTooltipOwner = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:57
 Setup = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateStatusBar.lua:52
 UpdateMouseEnabled = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:12
 EvaluateTutorials = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateStatusBar.lua:143
 isJailersTowerBar = false
 InAnimFinished = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:215
 hasTimer = false
 tooltipAnchor = "ANCHOR_BOTTOMLEFT"
 widgetContainer = Frame {
 }
 AnimOut = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:256
 FadeInAnim = AnimationGroup {
 }
 scriptedAnimationEffectID = 0
 modelSceneLayer = 0
 layoutDirection = 0
 outAnimType = 0
 inAnimType = 0
 widgetTag = ""
 orderIndex = 1
 lastFillAtlas = "widgetstatusbar-Fill-Yellow"
 AnimIn = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:240
 ApplyEffects = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:196
 widgetID = 5321
 widgetSetID = 1000
 ResetAnimState = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:234
 defaultTooltipAnchor = "ANCHOR_BOTTOMLEFT"
 OnLoad = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:203
 OnReset = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateStatusBar.lua:179
 GetOutAnim = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:228
 GetInAnim = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:222
 0 = <userdata>
 OnEnter = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:71
 SetTooltip = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:27
 Bar = StatusBar {
 }
 tooltipXOffset = 0
 SanitizeTextureKits = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateStatusBar.lua:47
 SetTooltipLocation = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:52
 SetMouse = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:3
}

seems to be related on how you handle the nameplates

(oh, and the druid mana bar also shows up on my rogue)