UE5.3 Crash when Package Project button is clicked

Greetings so I have finished a project and when I went to package it, right after clicking the package project button the editor freezes for a split second and then crashes giving me this message. I also tried packaging other projects but I am met with the same issue as mentioned above.

I have tried to search but couldn’t find a fix for it or a lot of people with similar errors as this one. If anyone has any idea of what this could be it would be of great help. The following is the full message I get maybe it could help find what’s wrong.

Many thanks in advance!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x0000000000ffffff

gdi32
gdi32
comctl32
comctl32
comctl32
comctl32
user32
user32
user32
ntdll
win32u
user32
user32
user32
shell32
shell32
shell32
shell32
user32
user32
user32
ntdll
win32u
user32
user32
user32
shell32
shell32
shell32
comdlg32
comdlg32
comdlg32
comdlg32
comdlg32
comdlg32
comdlg32
user32
user32
user32
user32
user32
user32
ntdll
win32u
user32
user32
user32
user32
user32
comdlg32
comdlg32
UnrealEditor_DesktopPlatform
UnrealEditor_DesktopPlatform
UnrealEditor_ExternalImagePicker
UnrealEditor_ExternalImagePicker
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll