Why Do Traces For Objects Always Fire On "Play"?

No matter what I do, trace collision event always fires right when I hit “Play”.

Is there any way to prevent this?


You probably want to start by not having your trace tied to an “On Begin Play” event.

What are you trying to do exactly?

That’s the thing – it’s tied to the OnComponentBeginOverlap event that’s for a capsule component on the front of my character.


You are probably overlapping something and that is why it fires.

Take the output actor of the event and get the name… write the string to screen and you can see what overlaps.

Yeah follow Rasped’s advice and get the overlapping actor.

Probably overlapping the player, or something near where the player spawns.

You either need to adjust the collision channels, make some collision box smaller, etc.