AdvancedInterfaceOptions icon indicating copy to clipboard operation
AdvancedInterfaceOptions copied to clipboard

(classic) SharedUIPanelTemplates.lua:864: attempt to index field 'PortraitFrame' (a nil value)

Open R-Adrian opened this issue 5 years ago • 1 comments

in WoW classic, i decided to tweak some CVARs via AIO and i think i managed to mess some of them that are not supposed to be touched... i'm now getting this LUA error on reload: (note; AIO is the only enabled addon at this point of my testing)

Message: Interface\SharedXML\SharedUIPanelTemplates.lua:864: attempt to index field 'PortraitFrame' (a nil value)
Time: Sun Sep  1 11:48:25 2019
Count: 1
Stack: Interface\SharedXML\SharedUIPanelTemplates.lua:864: attempt to index field 'PortraitFrame' (a nil value)
Interface\SharedXML\SharedUIPanelTemplates.lua:864: in function `OnLoad'
Interface\FrameXML\CharacterFrame.lua:63: in function <Interface\FrameXML\CharacterFrame.lua:62>

Locals: self = CharacterFrame {
 0 = <userdata>
}
use2XFrameTextures = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'PortraitFrame' (a nil value)"

note: this error seems to be caused by the CVAR useHighResolutionUITextures being set to 1, because classic WoW has no support for high resolution textures.

R-Adrian avatar Sep 01 '19 08:09 R-Adrian

Yeah it's a blizzard bug, they removed the textures but just forgot about that cvar probably https://github.com/Gethe/wow-ui-source/blob/b4c95406db2c2f027cb5c31df12fdb20b098943a/SharedXML/SharedUIPanelTemplates.lua#L862

Ketho avatar Sep 01 '19 16:09 Ketho

Cleaning up old issues; reopen if this is something that should be addressed.

semlar avatar Aug 16 '22 22:08 semlar