BeginPlay() not firing for all Actors consistently after opening level

Hi,

So, I have some Actor blueprints that have several actors within them. The actors have already been placed on the level. I have also set up their construction scripts which are working.

The situation is that the parent BP’s BeginPlay is not firing after opening level. However, they do fire if I play the level from the editor. What is also interesting is that the BeginPlay() functions of the Actors within my main BP Actor do fire.

I have subclassed GameModeBase and GameStateBase. The latter is entirely empty and the former does have logic and a few subclasses that I use per level type.

Any ideas on what I am doing wrong or if this is expected behaviour?

Thanks,
M

Ok, so the solution was to delete and recreate my own subclass of GameStateBase and restart the Engine.

After that, the begin() function was called after opening level.

I have no idea why this was the case, but I guess sometimes just recreating the files and restarting the Engine fixes these problems.