This is a remnant of an earlier rename from "units" to "quantities". Example: https://github.com/angularsen/UnitsNet/blob/6e23232dc6bf9d87943b750db25fb31ce1722bb4/UnitsNet/GeneratedCode/Units/AmountOfSubstanceUnit.g.cs#L11 Fix this by both updating all .cs files (some are only generated once) and the .ps1 powershell code generator files, then running generate_code.bat.