Prior to this bug, Shopify defaulted all values for custom products, since a month and a half the default value is empty. Hence why you now need to manually update this.
Either do it in bulk using a bulk editor app, or do it manually.
This is the only way to resolve the missing barcodes, when they are already added in Shopify.