Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

VR Oculus Quest MFPS Photon PUN2

Discussion in 'Assets and Asset Store' started by MichaelSolerBeatty, Apr 3, 2020.

  1. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
  2. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    HOW DO I IMPORT THE ASSET?
     
  3. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    VERSION 11.0:

    These are the most significant changes:
    > Added mirror scene
    > Added lobby room
    > Major improvements in physic matrix/layers
    > Compatible 2019.3
    > Life and ammo restore.
    > Ladders/stairs work now


    Example of the mirror performance in Quest:

     
  4. Hyperactive

    Hyperactive

    Joined:
    Aug 13, 2013
    Posts:
    13
    Hey Michael. I will post my questions here as to see if anyone else has similar questions.

    My main one is, in it's current state how does the app function if launched onto the Oculus Store? For example, if 100 players log in and try to play.

    I see there's a menu area first for you to setup your lobby, but how do players then select which lobby to join? Do you have options in the menu to either HOST or JOIN a match, and then have a selection of current hosted lobbies?

    From what I can see, it looks like this works for hosting one match and players joining that one match. But I would like to allow players to go into a JOIN menu and then select which lobby they want to join. Is that possible, or do you have plans to do this?

    Matchmaking is of course an extremely important part of any competitive multiplayer game.

    Cheers!
     
  5. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54

    In the current state of the art we have two workflows:

    a) A static scene (00-menu) used as a generic lobby that is used to connect to three different rooms.

    b) A room that works as a lobby (00-menu-variant) in which players are spawn and can select those three maps.


    Regarding future implementations, we could plan adding a better matchmaking system, but all should be launched from the same lobby.


    As it is designed for Quest, there is a lot of degrees of freedom and variables to handle in the photon server. I wouldn’t use more than 20 people.
     
  6. Hyperactive

    Hyperactive

    Joined:
    Aug 13, 2013
    Posts:
    13
    Thanks for the explanation.

    So right now there is no way to have multiple lobbies and matches at the same time.

    I will wait to see how you progress with this asset, and if in later releases it does include proper matchmaking and not just one match at a time I would certainely purchase.

    Keep up the good work!
     
  7. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    If you are interested in advance matchmaking check this out:
    https://assetstore.unity.com/packages/templates/packs/vr-oculus-quest-mfps-photon-pun2-pro-162015
     
  8. Akat

    Akat

    Joined:
    Sep 13, 2017
    Posts:
    1
    hi.. can i use this for Rift / Rift S?
     
  9. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    The code works with oculus in general, so it will work on RIft and similar.
     
  10. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Perhaps you should advertise it as VR Photon PUN for a wider customer base, since it looks to me it would work on any headset, but you would rather limit your customers? :p
     
  11. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Yes maybe you are right, but that's why I have created this post, to answer these type of questions.
     
  12. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    We managed to make the ladders work in the new version.

    Life coins are also spawn.

    Check this short video:

     
  13. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    How do I enable my own player's mesh?

    Go to the player's "avatar setup" script and there there is a variable that allows to show/hide your own mesh.
     
  14. MrNobody369

    MrNobody369

    Joined:
    Dec 10, 2019
    Posts:
    5
    out of the box the MP scene will not open when clicking the UI. The buttons to select scene in the lobby, when pressed just turn red and do not Set Active any scenes. any insight on this ?
     
  15. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Hello and thanks for supporting us,

    The scene you have to run is the "persistentScene" and you have to add the others to the build following the documentation. THe buttons should be triggered witht he right controller index (secondary controller)
     
  16. MrNobody369

    MrNobody369

    Joined:
    Dec 10, 2019
    Posts:
    5
    Their is only a menuscene and a multiplayerscene ..no persistentScene ..it works fine in playmode on my computer when join room manual is hit. but on the oculus device it will only select the button (turns red) but never presses the button
     
  17. MrNobody369

    MrNobody369

    Joined:
    Dec 10, 2019
    Posts:
    5
    it will only highlight the button that is...but will not select when pressed
     
  18. MrNobody369

    MrNobody369

    Joined:
    Dec 10, 2019
    Posts:
    5
    it turns gray stating disabled
     
  19. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    please write to us to michael.soler.beatty@gmail.com and we will continue the conversation there
     
  20. MrNobody369

    MrNobody369

    Joined:
    Dec 10, 2019
    Posts:
    5
    never mind !!! works amazing!!!!
     
  21. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Thanks please rate our asset when you have some time
     
  22. Kobald-Klaus

    Kobald-Klaus

    Joined:
    Jun 20, 2014
    Posts:
    127
    where do I find that demo package you are showing in the video?
     
    MichaelSolerBeatty likes this.
  23. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54