R2API
R2API copied to clipboard
R2API generates broken SkinDefs
https://discord.com/channels/562704639141740588/562704639569428506/951884797393911899
Well, two days of trying to figure out why skins were invisible in the game, and turns out R2API creates broken SkinDefs somehow. How it is broken? Well the skin shows up fine in lobby, but in actual game it is completely invisible. Rewrote the SkinDef the old way without R2API, and it works just fine. To be specific, was trying to make use of CreateNewSkinDef function and SkinDefInfo class. Which somehow caused invisible skins.
Code example here https://discord.com/channels/562704639141740588/562704639569428506/951887247081345045
I thought it was baseskins being empty after this : https://discord.com/channels/562704639141740588/562704639569428506/951901837609549854
but I just looked at miner mod currently, which defines a lot of skins, all with an empty baseskins array, and they all work. Not sure what the problem is now
I think this issue can be closed for now as it seems very stale, specially nowadays with the removal of the LoadoutAPI and addition of the SkinAPI