What is global game manager?


UATHelper: Packaging (Windows): LogWindows: Error: Assertion failed: !IsRunningCommandlet() [File:D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdGlobals.cpp] [Line: 51]
UATHelper: Packaging (Windows): LogWindows: Error: The global mode manager should not be created or accessed in a commandlet environment. Check that your mode or module is not accessing the global mode tools or that scriptable features of modes have been moved to subsystems.

This is the errormessage. I used version 5.0.3. I found two solution but one is use github and another is upgrade unreal version to 5.1. But my project can’t commit to my repository and I don’t want to use 5.1 because my computer is not good enough for that. please I want to know about how to I can fix this error

Well, global mode manager is responsible for managing the different modes in the editor, such as the level editor or the blueprint editor. The error suggests that the mode manager is being accessed in a command environment, which is not allowed. Here is a post about a build error similar to yours: Global Mode manager build error