Packaging fails after Upgrading to UE5.6

I’ve created a simple scene with a floor, a cube and a hdri backdrop then I packed the scene…everything was just fine but when I add a directional light I cannot pack it anymore, I get an error. Then I decided to delete the light and pack again but failed. Maybe is something with the lighting system