Why BeginPlay print Logs more than once?

If UPositionReporter::BeginPlay() is called only on the game start, then it should have printed the text once but why it is printing more than once? I don’t understand this part can anyone help me out with this one?

It’s printed twice because you put the script on two different objects. The more objects you put the script on, the more it will print.
That’s how you don’t have to specify where to look for the object’s name, since you are running the code on the object itself and thus it’s easy to reference it’s name.

Privacy & Terms