BPI Interact does not fire on spawned Actor

Hey everyone! I really need your help because I just can’t figure this out.

I have a BP_ItemBase (consists of a Mesh and a Niagara Effect) Actor which implements a BPI for interaction.

If I drag out said actor into the world from the editor, the Interact event fires whenever I press E and hit the Object with the line trace. However I’ve been experimenting around with the idea of dropping items on Enemy Death. Meaning: When an enemy dies, I use the Spawn Actor from Class node and spawn in the item that way.

For debug reasons, I created a Debug Key, which does exactly that. Using the ‘Spawn Actor from Class’ Node. The item gets spawned perfectly fine. When Pressing E, the Line Trace also seems to react to the item. However, the Interact Event does not trigger.

Does anyone have an idea why that’s happening and how I can fix this?

Thanks and have a great day!

Update:

I tried spawning multiple in by repeatedly pressing the Tab key to spawn the item in. Funnily enough, I found out the following things:

  • The first spawned item can’t be picked up for some reason. The Line Trace reacts to the object but it won’t be picked up.
  • All other items spawned AFTER this first initial item react to the Interact Event and get picked up
  • If I interact with the Actor which has been placed through the Editor BEFORE Spawning in the item, I can interact with the first spawned item and pick it up
1 Like