When I change the default UOM of a variant say from KG to meter, while the default UOM of Template (from which the variant is derived) is KG, I see a pop-up on saving that
Default Unit of Measure for Variant must be same as in Template.
In v13 it is even more frustrating. There is this bug, where if you create a new variant (+item -> wizard -> check varant) it sets the default UOM to tos. Which means the wizard fails.
What works is to go into the variant and then at the top there will be buttons where you can create the variant that way. This works. It generates the correct UOM based on the variant template.