AddOnSkins

10M Downloads

Skin disabled on reload

Nilsen02 opened this issue ยท 2 comments

commented

Hi there!

I've made a skin for RXP Guides to make it look more like ElvUI and I got the skin itself working, retexturing the addon, however after a /reload the skin was disabled, and every time I now enable it and then reload to redo the textures, the skin is disabled again.
Any idea to what could be the culprit/what kinda logs I could supply you guys with?

commented

You need to turn on Skin Debug to stop it from disabling the skin through errors. It will also throw the errors for you to diagnose the issue.

commented

You're a saviour - I couldn't for the life of me figure out how I had it working earlier.
I also found the culprit - RXP generates subframes as needed, so I had a for loop going that would handleframe each one, however since RXP generates on the fly and they don't always exist in the ui, the addonskin broke trying to handle frames that doesn't exist yet.
A better solution would be to handle the RXP subframe generation and skin it as need be, but I am absolutely outta my depth there.
I saw you had an AddOnSkin for Zygor, so I thought I would throw in my thoughts so far - thanks for the help! I'll close it here.