WeakAuras

WeakAuras

206M Downloads

Weakaura Local Error

Hammerferge opened this issue ยท 1 comments

commented

Description

Hello, all!

I need assistance diagnosing which Weakaura is causing my FPS drops. So, whenever I enter a mythic+ and enter combat, I get the following error. It says it occurs around 5000 times. I just can't single out which weakaura it is.

Thank you for your assistance!

WeakAuras Version

WeakAuras-5.3.7-33

World of Warcraft Flavor

Retail (Default)

Tested with only WeakAuras

  • Yes
  • No

Lua Error

5215x ...aceWeakAuras/RegionTypes/RegionPrototype.lua:361: bad argument #1 to 'SetAlpha' (Usage: self:SetAlpha(alpha))
[string "=[C]"]: in function `SetAlpha'
[string "@WeakAuras/RegionTypes/RegionPrototype.lua"]:361: in function `SetAnimAlpha'
[string "@WeakAuras/Animations.lua"]:94: in function <WeakAuras/Animations.lua:17>

Locals:
(*temporary) = Frame {
 0 = <userdata>
 color_anim_b = 1
 AnchorSubRegion = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:407
 Scale = <function> defined @WeakAuras/RegionTypes/Texture.lua:147
 Expand = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:843
 yOffset = 0
 anchorPoint = "BOTTOM"
 color_anim_g = 0.243137
 GetColor = <function> defined @WeakAuras/RegionTypes/Texture.lua:211
 SetOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:280
 SendChat = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:228
 rotation = 0
 UpdateFrameTick = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:393
 SetRegionHeight = <function> defined @WeakAuras/RegionTypes/Texture.lua:173
 OptionsClosed = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:687
 Color = <function> defined @WeakAuras/RegionTypes/Texture.lua:189
 scalex = 1
 Update = <function> defined @WeakAuras/RegionTypes/Texture.lua:183
 regionType = "texture"
 color_anim_r = 1
 GetRegionAlpha = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:349
 relativePoint = "TOP"
 SoundPlay = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:210
 texture = Texture {
 }
 color_b = 1
 ClickToPick = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:692
 alpha = 1
 color_r = 1
 SetXOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:289
 Collapse = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:821
 RealClearAllPoints = <function> defined =[C]:-1
 states = <table> {
 }
 SetDesaturated = <function> defined @WeakAuras/RegionTypes/Texture.lua:218
 GetYOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:301
 values = <table> {
 }
 effectiveRotation = 0
 state = <table> {
 }
 SetYOffsetRelative = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:318
 customAnchorFunc = <function> defined return function():1
 SoundRepeatStop = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:156
 GetXOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:297
 UpdateTimerTick = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:379
 xOffset = 0
 color_g = 1
 toShow = true
 SetRotation = <function> defined @WeakAuras/RegionTypes/Texture.lua:229
 GetYOffsetRelative = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:326
 SetAnchor = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:268
 ColorAnim = <function> defined @WeakAuras/RegionTypes/Texture.lua:200
 PixelSnapDisabled = true
 SetRegionAlpha = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:339
 finishFormatters = <table> {
 }
 SetMirror = <function> defined @WeakAuras/RegionTypes/Texture.lua:178
 cloneId = 1
 triggerProvidesTimer = false
 subRegions = <table> {
 }
 height = 30
 startFormatters = <table> {
 }
 Pause = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:900
 SetOffsetAnim = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:330
 scaley = 1
 Resume = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:905
 SetRegionWidth = <function> defined @WeakAuras/RegionTypes/Texture.lua:168
 RunCode = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:235
 FrameTick = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:401
 SetAnimAlpha = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:353
 xOffsetAnim = 0
 yOffsetAnim = 0
 SetYOffset = <function>

Reproduction Steps

  1. Entering a mythic+ dungeon
  2. Starting the key
  3. Entering combat

Last Good Version

WeakAuras-5.3.7-31

Screenshots

WeakAuras.zip

Export String

No response

commented

I didn't manage to reproduce issue, but i think the problem come from Pull Indicator custom fade animation that return 0 or 100 when function is supposed to return a number between 0 and 1