Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

THIS IS UNITY

Im trying to make a FPS game over networking, it works fine.

But now, when im trying to implement sound, it won't work.

My guess would be, to add a Audio listener to the prefab, that gets instansiated whenever a player connects to the server, however the problem about this is that each player's audiolistener have been switched out which the other player(s), so the AudioSource won't play at the player, but at someone else in the game.

Any suggestions ?

share|improve this question
I don't know your setup, and how you instantiate local and remote players. But I suggest to handle it like you handle the cameras. I guess you instantiate only one camear for your local player but none for the remote players. Do the same with your AudioListners. – jonas Nov 23 '12 at 16:15

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.