Based on the error, perhaps it’s complaining that your ‘base’ geometry has a UV attribute and your ‘addition’ geometry does not? Either removing UVs from the boxGeometry or adding them to the custom geometry might resolve that.
3 Likes