Replicated Projectile Component Collision with Pawns

Hi all,

I’m trying to create functionality for a replicated ball. Currently, the ball can:

  • Be picked up

  • Be thrown

I’ve been following the UE5 Multiplayer FPS tutorial, but my game is slightly different and it’s not working as intended. The ball being the projectile is a persistent item, it does not spawn and get destroyed like the bullets do in the tutorial. Instead, the ball is spawned at the start, able to be picked up, and able to be thrown. However, the ball (projectile) collision does not interact with either of the pawns that spawn when I run the game with 2 clients as a listen server.

Also, the second pawn (client) cannot throw the ball and it does not replicate ball movement… But that’s a different question.

The collision of the ball is set to projectile, and currently set to overlap with pawns. However, when I change the collision of the ball to collide with pawns, the Unreal Editor crashes (when setting SphereComponent). If I set the collision to collide with pawns in the first collision panel, it will collide with my main player, but not with the second client player…

Any feedback would be amazing… Screenshots of code below:




image