I want to stop the AI function at the start of the game

I am trying to connect the node in the following image to “Begin Play” and stop the AI function at the start of the game.
It succeeds during test play, but in build play, the AI does not stop as expected.
If anyone can think of a cause, please let me know.

(I use translation. I’m sorry if the language is not correct.)

352222-ai-dontstop.png

If this is on Begin Play, you might need to put a delay node in there. You can’t stop the AI until it’s started, and your BP might have started sooner.

BeginPlay is not always the first thing that gets done…
Thank you. I found the cause!