Thread: Reuse frame
View Single Post
06-20-16, 01:08 PM   #6
maqjav
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Feb 2012
Posts: 60
Ok I found what was causing the erratic issue.
The method GetItemInfo is asynchronous and it doesn't respond with information right away, and it seems WoW doesn't keep the cache between sessions anymore, so even if I tested with the same items the problem was still there.

In order to make it work I have to register the event GET_ITEM_INFO_RECEIVED and whenever I get the information then load the texture in my itemFrame.

The wow client crash is still there, it ocurrs radomnly whenever it tries to set a new fileID to an existing texture. I really hope this is just a bug and it will be fixed in future PTR releases.