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

Unity Multiplayer 5v5 FPS with bullet instantiating. Performance wise is this possible?

Discussion in 'Multiplayer' started by ueharaitsuki, Sep 8, 2022.

  1. ueharaitsuki

    ueharaitsuki

    Joined:
    Jul 4, 2022
    Posts:
    29
    I am trying to make a prototype of multiplayer (using photon) 3d person shooter (probably a 5v5 scenario) and I did a few research about instantiate vs raycast with regards to bullet. I found out that many would prefer raycast especially if the bullet is so fast that you may not see it with naked eyes and mainly because of performance. In the game I am trying to achieve my characters would have no futuristic / present time weapon so it would be an arrow / stone or other things they use in medieaval times. I would also like these objects to be visible so I decide it would best if I just instantiate object and use rigid bodies with it. My question is performance wise would this be possible ? are there other things I need to consider?
     
  2. r31o

    r31o

    Joined:
    Jul 29, 2021
    Posts:
    460
    Is possible, but if you are using photon, Fusion is the unique one that could handle it smoothly.
     
  3. Lukeesta

    Lukeesta

    Joined:
    Jan 7, 2016
    Posts:
    24
  4. ueharaitsuki

    ueharaitsuki

    Joined:
    Jul 4, 2022
    Posts:
    29
    Thanks. Would this be impossible with just the free photon pun?
     
  5. r31o

    r31o

    Joined:
    Jul 29, 2021
    Posts:
    460
    It will be very hard. Also, there is no "free" photon PUN, just 20 ccu.
    Fusion will make you things much easier, since its made with preformance and bandwidth in mind.
    You can also use Fish-Networking, its completely free (but with optional awesome pro features), and its much easier to use, and it also uses very low bandwidth.
     
  6. Lukeesta

    Lukeesta

    Joined:
    Jan 7, 2016
    Posts:
    24
    Fusion is superior to PUN when it comes to to FPS games in every way, it is a bit harder to get started with it though but definitely worth it. Fusion and PUN follow a similar pricing structure where you get 20 CCU for free but Fusion CCU are a bit more expensive.
     
  7. ueharaitsuki

    ueharaitsuki

    Joined:
    Jul 4, 2022
    Posts:
    29
    Thanks for the helpful infos guys !