Lua error when enable friendly nameplates in raid
class2u opened this issue ยท 14 comments
Hi,
Thank you for making this great addon. I get the following Lua error message when enable friendly nameplates inside the raid instance Sepulcher of the First Ones. This is happening after Hotfix in 22th March. I am using Drift v1.0.25-retail. The raid need to be larger then 25 people maybe.
22844x FrameXML\CompactUnitFrame.lua:1122: Attempt to access forbidden object from code tainted by an AddOn
[string "=[C]"]: in function Hide' [string "@FrameXML\CompactUnitFrame.lua"]:1122: in function
CompactUnitFrame_UpdateClassificationIndicator'
[string "@FrameXML\CompactUnitFrame.lua"]:1380: in function `CompactUnitFrame_UpdateAuras'
[string "@FrameXML\CompactUnitFrame.lua"]:96: in function <FrameXML\CompactUnitFrame.lua:45>
Locals:
(*temporary) = {
0 =
}
Hi @class2u - Thanks for reporting this bug and the details! I attempted to reproduce the issue by enabling friendly nameplates inside of a 25 man Sepulcher of the First Ones. I also attempted to reproduce the issue by enabling friendly nameplates in a raid group larger than 25 people for a world boss. In both cases, I was unable to reproduce the issue.
Drift does not modify nameplates at all, so I am not sure how this interaction could occur. Is it possible you have any other AddOns installed that could be causing this issue? Additionally, could you test whether this issue still occurs while Drift is disabled?
Thank you for replying and testing. Last time I tested it with Drift, EaseAddonController, BugGrabber, BugSack, Ace3 and some shared libs. I did not get this Lua error after disabling Drift and keeping the others enabled.
I will test it again with Drift only when I am in raid.
I tested with Drift only. Disabled all other addons. When enabling friendly nameplates in a 25 player raid, I got the same Lua error message. BTW, I am using zh-TW game client. Thank you.
Thanks for the additional testing and detail! I was able to reproduce the issue exactly as you have described. I am not sure why the error did not show up for me the first couple of times I tested but did show up for me this time. I am also not sure the exact cause of the error. It will take me some time to investigate.
Attaching a taint log here for my own reference.
taint.log
Attaching another taint log for reference.
taint2.log
Third taint log for reference.
taint3.log
These issues look like they could be the same bug:
Auctionator/Auctionator#1133
Auctionator/Auctionator#1136
This seems to have fixed the issue for Auctionator: Auctionator/Auctionator@f59e54f
This could be related too jordonwow/bigdebuffs#367
These all look like the same issue too:
https://us.forums.blizzard.com/en/wow/t/uknown-ui-error/1221765
https://us.forums.blizzard.com/en/wow/t/ui-error-while-fighting-prototype-pantheon/1220618
https://us.forums.blizzard.com/en/wow/t/ui-error-while-fighting-prototype-pantheon/1220619
https://us.forums.blizzard.com/en/wow/t/lua-error-not-caused-by-addon/1210295/4
Hi @class2u - I was able to fix the bug on my end. It appears to have been caused by using dropdowns in the addon interface options. Can you use the attached version of Drift and let me know if it fixes the bug for you when enabling friendly nameplates inside the raid instance Sepulcher of the First Ones? Thanks!
drift-v1.0.25-retail.zip