Hi, trying to make this piece of code work with my project.
This line returns false:
if(materialMap.TryGetValue(originalMaterials[j], out subMaterial))
And I don't see any other reference to materialMap in the code.
I get the error message: "Lol, you need to make a new texture~".
Any idea?