How to make the blueprint subclass that inherits from localplayersubsystem usable after packaging?

Hello everyone, I have created a class that inherits from localplayerSubsystem and added an initialization event to its blueprint subclass. But the initialization event is only triggered in PIE mode and will not be triggered after packaging. Is there any way to solve it? I plan to create and manage the UI for local game players :joy: