Packaged builds for Shipping will still attempt to build/run editor modules.
StartupModule
will run during packaging. If this function calls any editor-only code, such as using GUnrealEd, this will crash the build. You need to either check whether pointers exist, or wrap code in #if WITH_EDITOR
to allow the packaging to finish successfully.