I have a basic HeroController class in C++ derived from PlayerController. The HeroController delegates basic inputs for moving using WASD and camera controll with mouse to the Hero. The Hero class derives from Character, which implements these movements. I have both of these classes derived as Blueprints to make changes to parameters easier, and the GameMode has both Blueprints set as default.
When starting the game, everything works fine, the parameters changed in the Blueprints are applied, so it is using them. However, when trying to open the PlayerController Blueprint in editor, the Editor crashes, and the VS debugger says that the MoveRight function of the Hero class has been called, but the PlayerController is null, even though the game has not started.
How is this possible and why does it call this function when opening the PlayerController Blueprint?