ICU data directory was not discovered Packaging Error

I have this error as well.

  • Unreal Engine 4.21.1
  • Package MacNoEditor, Shipping, Cook By The Book
  • Run build and it crashes immediately.

For me it only occurs when I package on the Mac. My Windows 64 build is fine.