Editor crashed when opening derived PlayerController BP

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?

Hey Dynamitos-

Can you provide the callstack and log files from the crash for additional information? If you create a new Player Controller blueprint, does the editor crash when attempting to open it as well? If so, please provide the code for your player controller constructor as it is likely trying to /access something that hasn’t been set yet.

Hey Dynamitos-

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Cheers