         outMat.Save(outFile);
         outFile.Close();
 
-        fileSystem.Copy(filePath + GetFullAssetName(textureName, assetMappings), sceneResourcePath + "Textures/" + textureName);
+        fileSystem.Copy(filePath + GetFullAssetName(textureName), sceneResourcePath + "Textures/" + textureName);
     }
 
     convertedMaterials.Push(materialName);

            return;
    }

    String fileName = filePath + materialName;
    String outFileName = sceneResourcePath + "Materials/" + GetFileName(materialName) + ".xml";

    if (!fileSystem.FileExists(fileName))

    convertedModels.Push(modelName);
}

void ConvertMaterial(const String&in materialName, const String&in filePath, Array<String>@ convertedMaterials)
{
    if (materialName.Trimmed().empty)
        return;
