Skip to content

client cannot hear firesound #125

@Alexander5421

Description

@Alexander5421

Describe the bug
The client fires a bullet, but only the host can hear the firesound.

https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/blob/6e39bc28f5a1ef51f49324e9d46897e118adbd77/Basic/2DSpaceShooter/Assets/Scripts/ShipControl.cs#LL197C26-L197C26
I think this line causes the bug. Fire action is a FireServerRpc, So only the host executes this function.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions