Begin Overlap event Triggered Twice

On a quite a big level I have separate blueprint actors wiith trigger box components, as well as some trigger boxes that are level-specific.
“Do once” node doesnt help, everything fires twice anyway.
I honestly was expecting this to happen at some poiht of development, since once the map gets bigger and has more objects - it always happens to my levels, and I have no solution. And no one seems to have it. Years pass and the bug is not being solved, as its difficult to reproduce and no one is even looking into it.

Are you checking for the player on overlap? ( casting )

1 Like

Hi, thanks again for helping out. Yes, I am making a cast to the player character. They fire twice almost instantly, and I think that 2 instances of everything is being created somehow. Thiis happened to my levels many times before when I worked on them for too long. Yesterday everythjng was firing as it should, but now always twice.

1 Like

Can you show the code inside one of the objects that trigger twice?

1 Like

You can check, the number of BPs in the outliner is the correct number.

1 Like

Yes, I checked it - and the actors spawn twice for some reason

1 Like

Ok, that will be something to do with how you coded it, but I don’t have any guesses at the moment, I’m afraid.

Thanks, though I think hat its not the coding that is triggering stuff twice, but the engine itself that bugs out sometines and messes up the maps. If I make a “print string” on level begin play - it fires twice as well., only 1 specifil map is affected. This happens from time to time to big maps and I used to make backups daily expecting this exact issue, but a few months ago I got tired