Spawning actors using spawn actor is not allowing some actors to move

Im trying to spawn actors from the spawn actor class. 60% of the actors spawn just fine and move around as they are supposed to. the other 40% don’t move and they spawn above my bounding box. the bounding box collisons are set to ignore all. what am i missing?

Hello! Do you check Collision props on you actor blueprints (Box and spawned one)? And also Collision channels in Project Settings?

i do use collisions. the box collision on both the NPC spawned and the Spawn Box are set to overlap all.

It is clear that the thing is in your Collision Handling Override value and logic that is connected to… But in fact it depends on many aspects… Maybe you can prepare more full description?

I’m not sure about the wrong spawn location, but if they aren’t moving you might want to check “Auto possess AI” in the Class Defaults. Make sure it works on spawned or both when placed or spawned.

Hi there! I just have checked smth and found out that tthe main thing is this method of AActor class

FVector GetPlacementExtent() const;

In this method actor iterate through components and use their virtual method to calc bounds

virtual FBoxSphereBounds CalcBounds(const FTransform& LocalToWorld) const;

So just check that… It all depends on actor and component classes that you are using ) I was rather surprized that some component classes even dont need collisions to participate in this )