Download

Adding actor component on server causes player to drop from host.

Hey Everybody! First post here.

I’m having an issue adding a component to a character pawn at run time in blueprint.
The actor component is set to replicate, but I also SetIsReplicated just to make sure it’s being set dynamically instead of statically.

When I attempt this the server drops all clients from the game, but the game remains running.
No log or error message pops up as far as I can tell.

I’ve tested this in a clean first person example to make sure it isn’t something I’m doing in my own project.
I would like to be able to add/remove components to use them as simple modular weapon system instead of attaching actors to the character.

I tried another method using child actor components, but ran into the same issue of adding them dynamically causing the disconnect.