Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Bullets have stopped syncing (PUN2) but still deal damage

Discussion in 'Multiplayer' started by Strafe_m, Nov 15, 2022.

  1. Strafe_m

    Strafe_m

    Joined:
    Oct 24, 2022
    Posts:
    72
    Hey all,
    For a couple of weeks, I have been adding features to my game, like making a playable map, and other cool features, and just right now I tested with 2 players and I can't see players bullets when they shoot, but it still deals damage to the player, for example.
    Player 1 shoots, it can see the bullet, player 2 can't see the bullet but if it gets hit, it takes damage. So theres probably a problem in how I am doing it.
    What is the best way to instantiate a bullet and sync it over network, note I'm using an Ienumerator to instantiate my bullet.