Event ActorBeginOverlap crash

Hello everyone,

I wanted to report a bug I found yesterday, and here are the steps how to make it:

  • First I created a blueprint class (I named it BP1) and in this blueprint I just added a Box collision:

The event graph:

Now every actor that hit this box will be destroyed.

  • Then I created a second blueprint class named BP2, in this blueprint I added BP1 and a Static Mesh :

Now when I try to move the static mesh in the box collision (BP1), unreal engine crashes, probably because the Event ActorBeginOverlap is called :

Have a nice day everyone :slight_smile:

.

You are crashing because both actors trying to destroy each other, as both of them have that collision box.

Try this. Have one blueprint actor with only collision box and the event to destroy. Have the second with only the mesh. It should work.

Hi ,

Although I believe there is a different way to do this that will work correctly like Achileon mentioned below, we prefer that the editor handle something like this a bit more gracefully and not just crash.

Where are you moving the static mesh into the the box? In the blueprint viewport or are you placing it in the level? Neither reproduce a crash for me. Would you be willing to create a small test project?

Hi TJ Ballard,

You can download the small test project here :

Open the blueprint class BP2, then in the blueprint Viewport move the static mesh slowly toward the collision box, it should crash the editor when the static mesh hit the collision box.

Best regards,

.

I created JIRA UE-21280 for the crash.

Make sure to try Achileon’s post above for a better way to set this up.

Cheers,

TJ