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. Dismiss Notice

Cross Platform Multiplayer Solution?

Discussion in 'Multiplayer' started by Justin-Wasilenko, Mar 18, 2016.

  1. Justin-Wasilenko

    Justin-Wasilenko

    Joined:
    Mar 10, 2015
    Posts:
    103
    Is there a multiplayer solution (Unity Networking, Photon, Forge...) That allows cross Platform play between PC, Android, PS4?

    Or to be more specific, Gear VR, Oculus, Vive, and PSVR?

    I haven't been able to find any information on the cross platform aspect. A lot of solutions talk about supporting each platform but which one is best and communicating between them?

    Anyone with some experience that can shed some light here?
     
  2. g_a_p

    g_a_p

    Joined:
    Mar 16, 2015
    Posts:
    279
    Well, the VR technology has to do with rendering and not much with the network side of things.
    If Unity supports those VR technologies (which is in the roadmap) then you will be able to integrate their networking API in your VR games just like you can do now with non-VR games.

    This is true also for any other third party networking solutions such as those you have cited.

    cheers
     
  3. g_a_p

    g_a_p

    Joined:
    Mar 16, 2015
    Posts:
    279
    Alternatively you can use a solution such as SmartFoxServer which is essentially platform agnostic and provides client API for almost any existing dev environment.
     
  4. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,017
  5. Justin-Wasilenko

    Justin-Wasilenko

    Joined:
    Mar 10, 2015
    Posts:
    103
    I just saw you guys also released Photon Voice as well, that was going to be another question for later...
    So with Photon I could get PS4, Android, and PC all playing together and all with voice chat?

    I might have to look more into this, I had tried Photon a year ago but wasn't seriously looking at multiplayer until now.

    The one time fee for $95 and 100CCU that includes Voice chat as well?
     
  6. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,017
    So far, we didn't run Photon Voice on PS4. It's using a native library, which we would have to compile (and test) accordingly. It shouldn't be a problem and if you let us know ahead of time, we can put this on the pipeline early enough.

    You need individual subscriptions for Photon Realtime and Photon Voice. It's quite a bit of extra traffic, aside from the gameplay. It might seem cumbersome to have two subscriptions, but this way it's easier to use Photon Voice independently.
    The one time fee only includes 100 CCU for one subscription for Photon Cloud, so Voice is not in that package.
     
  7. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,017
    Forgot to mention: The Photon Voice package includes the latest PUN version, so even if you'd buy PUN+ for the subscription, don't import the asset. Just use the invoice ID as coupon in our Dashboard.
     
  8. Justin-Wasilenko

    Justin-Wasilenko

    Joined:
    Mar 10, 2015
    Posts:
    103
    Ahh ok good to know thanks for your help :)

    How much of a performance overhead is running Photon? For a Gear VR game that is already getting close to the limits of what a S6 can pull off, is adding Photon going to have a big impact?

    Example scene, being 4 players all moving and shooting out rigidbodies every second or 2.
     
  9. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,017
    That's really hard to tell.
    In doubt, implement some dummy activity for the networking to see who performance is for your case.
    We recently updated PUN performance-wise but there's always room to improve. Let us know if you find bottlenecks. Sometimes we have workarounds or can do something about it.
     
    SweatyChair likes this.
  10. invictvs1

    invictvs1

    Joined:
    Mar 7, 2014
    Posts:
    51
    Sorry to revive a dead thread, but are there any updates on Photon Voice PS4 support?
     
  11. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,017
    Photon Voice 2 supports consoles, yes.
    It does not have WebGL support though (in case that matters).