For a given material, the length of EAN/UPC number is different for different units also it varies in Dev and Production environment although the configuration settings are same for both Dev and Production.
ean.png
prod.png