Welcome …
Because Unity does not know anything about Blender’s modifiers you have to apply the modifier before exporting. Some exporters do even have an apply modifier feature in the export options so you do not have to change your blend file.
How are you exporting to Unity? I.e what format?