WeakAuras

WeakAuras

206M Downloads

attempt to index field 'multiUnitUnits' (a nil value) on 9.0.1 36216 (PTR)

thebgpikester opened this issue ยท 2 comments

commented

Describe the bug

Nothing happens with WA2 loaded, LUA errors are spamming multiple times a second.

Do you have an error log of what happened?

Message: Interface\AddOns\WeakAuras\BuffTrigger2.lua:1428: attempt to index field 'multiUnitUnits' (a nil value)
Time: Tue Oct 13 17:47:20 2020
Count: 9
Stack: Interface\AddOns\WeakAuras\BuffTrigger2.lua:1428: attempt to index field 'multiUnitUnits' (a nil value)
[string "@Interface\AddOns\WeakAuras\BuffTrigger2.lua"]:1428: in function <Interface\AddOns\WeakAuras\BuffTrigger2.lua:1427>
[string "@Interface\AddOns\WeakAuras\BuffTrigger2.lua"]:1615: in function <Interface\AddOns\WeakAuras\BuffTrigger2.lua:1541>

Locals: time = 166004.361000
arg1 = "player"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'multiUnitUnits' (a nil value)"
Private = <table> {
 CancelAnimation = <function> defined @Interface\AddOns\WeakAuras\Animations.lua:382
 Animate = <function> defined @Interface\AddOns\WeakAuras\Animations.lua:173
 RegisterGroupForPositioning = <function> defined @Interface\AddOns\WeakAuras\Animations.lua:167
 LoadConditionFunction = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:582
 Modernize = <function> defined @Interface\AddOns\WeakAuras\Modernize.lua:5
 RemoveHistory = <function> defined @Interface\AddOns\WeakAuras\History.lua:54
 CleanArchive = <function> defined @Interface\AddOns\WeakAuras\History.lua:21
 StartProfileAura = <function> defined @Interface\AddOns\WeakAuras\Init.lua:69
 StopProfileAura = <function> defined @Interface\AddOns\WeakAuras\Init.lua:75
 RunConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:589
 SetMigrationSnapshot = <function> defined @Interface\AddOns\WeakAuras\History.lua:65
 GetProperties = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:377
 StartProfileUID = <function> defined @Interface\AddOns\WeakAuras\Init.lua:78
 ProfileRenameAura = <function> defined @Interface\AddOns\WeakAuras\Profiling.lua:282
 GetMigrationSnapshot = <function> defined @Interface\AddOns\WeakAuras\History.lua:72
 UnloadAllConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:728
 StartProfileSystem = <function> defined @Interface\AddOns\WeakAuras\Init.lua:66
 RenameConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:768
 ConvertBuffTrigger2 = <function> defined @Interface\AddOns\WeakAuras\BuffTrigger2.lua:2568
 CanConvertBuffTrigger2 = <function> defined @Interface\AddOns\WeakAuras\BuffTrigger2.lua:2538
 wrongTargetMessage = "This version of WeakAuras was packaged for World of Warcraft Retail. Please install the Retail version instead.
If you are using the CurseForge Client, then  contact CurseForge support for further assistance and reinstall WeakAuras manually."
 GetAnchorsForData = <function> defined @Interface\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:119
 UnregisterForGlobalConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:721
 RestoreFromHistory = <function> defined @Interface\AddOns\WeakAuras\History.lua:58
 LoadConditionPropertyFunctions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:413
 SetHistory = <function> defined @Interface\AddOns\WeakAuras\History.lua:40
 StopProfileUID = <function> defined @Interface\AddOns\WeakAuras\Init.lua:81
 UnloadConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:742
 DeleteConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:753
 GetGlobalConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:491
 RegisterForGlobalConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:687
 StopProfileSystem = <function> defined @Interface\AddOns\WeakAuras\Init.lua:72
 GetGlobalConditionState = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:606
}
ScanGroupUnit = <function> defined @Interface\AddOns\WeakAuras\BuffTrigger2.lua:1361
matchDataChanged = <table> {
}

To Reproduce

Steps to reproduce the behavior:

  1. Launch wow PTR, log in as any character
  2. log script errors to see them.
  3. Observe no WA

Screenshots

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
YES

Which version of WeakAuras are you using?

Build is yesterdays Shadowlands branch

Are you on World of Warcraft Classic or Retail?

  • Classic
  • [] Retail
  • PTR 9.0.1 (36216) (Release x64) Oct 12 2020
  • Shadowlands

Was it working in a previous version? If yes, which was the last good one?

never tried this version before

Additional Info

commented

That can't be nil, unless you somehow only half installed WeakAuras.

commented

In #2545 a user debugged that to be caused by SimpleUnitFrames