Collision doesn't work with spawn actor

So I’ve got a Blueprint that I place into the level and everything works fine.

this is where I need collision:

I put the collision on static mesh like this: https://i.imgur.com/7P5Vp6Q.png

When I place Blueprint by myself it works, but when I spawn it with SpawnActor in Level Blueprint it doesn’t work at all:

I tried to change collision type after spawning but it won’t help.

I also checked if maybe collision works with something like this: https://i.imgur.com/bRT7oq3.png but whenever I collide with the object there’s nothing printed.

What’s the difference between spawning it and putting it manually and how can I make the collision work?

1 Like

In your collision component change the drop down to choose a collsion type. At the moment it says No Collsion

It affects only one BP that was collided, tried changing that already and it wouldn’t do anything. I’m spawning in this example 1 BP per second, I stopped frame, ejected camera and looked and compared all the blueprints, they were all the same so that’s what intrigues me.

I have been using it like this and it works fine…

225329-col.png

I tried that and it didn’t help. There’s no difference in collision between spawned one and the one I put into the level by myself.

original:

spawned:

Even though it collides only with the one i put by hand and it ignores the ones spawned.

Following. I’d love to find a solution for this. I’ve tried everything I can. I’ve also ejected camera and inspected the objects in question. One is world static, block all. The spawned object has Physics Actor applied with all the proper presets. And yet they pass straight through one another.

Using 4.19.2

I can confirm that the above doesn’t work. I also ejected camera and checked with and without these. Always set to PhysicsActor and still doesn’t collide.

This is still occurring. Any solutions?

I know its been a while, but this issue is still relevant in 5.2, and my googling led me here very quickly, so this is for any future lookers, I had to enable simulate physics on the spawned object in order for hit events to take place.

1 Like

Helped a lot! Thanks!