HOW I MANAGED TO FIX IT :
- Install the latest version of visualstudio community (when installing,check C++ game dev at the bottom andon the right side panel make sure tocheck the “Unreal” checkbox)
- Create a new project and copy-paste everything needed from the old to the new “Content” folder
- Disable antivirus while packaging (disable internet to take precautions while antivirus is off)
Thank you @Fractal_C and @Omar Vector