Event Begin Play Firing Multiple Times

I’m making a game menu. The tutorial told me that i have to put an event BeginPlay node so when the game starts the menu will pop up. But my event begin play keep firing more than once. I tried puting a doOnce node but it still didnt work. Pls help me!

Could you have multiple blueprints with begin plays that call the menu? Is this your level BP or some other BP? On the BP that you did the DoOnce, disconnect the execution pin and see if it still comes up. If so, you have another BP calling the menu.

For 90% it means you have more the one object of a blueprint on level, BeginPlay is only called only on spawn right after components are initiated, only other reason i can see is replication bug. Study the world outliner

I experienced the same thing with RCCP. The event BeginPlay keeps on firing automatically. I’m using UE 4.12. Any way to stop this behavior?

Same for me here… I’m on 4.12.5 and the BeginPlay of my Pawn class gets called twice. There is no instance in the world before starting the game, so its the default behavior of the GameMode/PlayerStart.

Neither a “DoOnce” node directly after BeginPlay nor a test on “GetPlayerPawn(0) equals Self” as suggested in other threads does the trick…

Any ideas??

to fix this, only put in “OnBeginPlay” the code you want executed on both server and client.
if you want something executed only on the server or only on client on begin play, make a custom event, set it to only run on the server (this is useless here, but it will be useful if you also manually call from your client later too), and in the PARENT actor’s beginplay but it behind an hasAuthority barrier. then it will work as intended.