I am trying to make a multiplayer third person shooting game. When shooting bullets, the bullets should be spawned at the muzzle(a socket of the gun’s skeletalmesh). It works well on server but on client it like this:
- Character bluprint has a weapon and he can shoot using a weapon.
- Bullet is spawned in weapon blueprint.
I am hoping that someone could help me.Thanks a lot!!!
This issue can come from many different places. I would put logs with the location of the bullets at every part of the function that is spawning them. That way, you’d be able to narrow down the cause of the issue.
There are a few possibilities: It could be an anchor point issue, a client replication issue, or it could also be a problem with state synchronization. It’s pretty hard to tell without more info.