Hello,
You will find details under :
But you need to be sure that your plugin is called after the plugin "hikashop / serial".
Because the serial creation is also done during the "onAfterOrderUpdate" trigger, so that variable is filled at that moment.
If your plugin is called before, you won't be able to access the data ; when serials are created/assigned.
If the serials are already there (and the order status doesn't change), you will have to load the serials from the database. Loading the serials every time an HikaShop order is loaded would have some performance impacts.
Regards,