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

VR Oculus Quest MFPS Photon PUN2 PRO

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

  1. Bazoo_Studios

    Bazoo_Studios

    Joined:
    Dec 18, 2011
    Posts:
    92
    EDIT: I solved the issue, there is a UnityEditor check, that breaks the project. comment out line 47 of the HandGrabbing script and it will work.

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. NonDominantGrab.OnTriggerStay (UnityEngine.Collider other) (at Assets/VR Oculus Quest MFPS Photon PUN2 PRO/Scripts/WeaponScripts/Rifle/NonDominantGrab.cs:34)
    It is broken inside of unity, so I can't test anything in edit/play mode, I have to completely build the project. Any idea why?
     
    Last edited: Sep 12, 2020
  2. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Hello and thanks for your comment. Those lines of code allow debuging in the editor mode. You must disable them if you want to test debuging from using the device (direct connection).

    HandGrabbing.cs:

    #if UNITY_EDITOR
    grabCondition = Input.GetKeyDown("r") && otherHand.objectInHand != potentialOnjectInHand;
    #endif


    I am satisfied that you found a solution.

    How is it going along? Are you pleased with the result of the package and its functionalities? Please rate the asset when you have some time.

    For more questions please contact us directly to :

    michael.soler.beatty@gmail.com
     
  3. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    New v15.0 available
     
  4. maneeshsethi

    maneeshsethi

    Joined:
    Jul 13, 2020
    Posts:
    1
    Hiya! I got the game working -- but zombies are all pink, and have no texture. The guns are also all pink, no texture (although the grenade is fully textured)

    How do I
    1) fix this texture load issue?
    2) Change the texture of the zombies? I wanna change the face.

    Thanks!
     
  5. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Hello, and thanks for buying the asset.

    Are you using version 2019.3.3? If not, maybe there are some compatibility issues with the importing process of all the assets. If you are still having trouble, check if you can extract the materials and textures from the "fbx" files and check their references to the materials (drag and drop).

    Pink materials are usually a consequence of texture problems with the original references.

    You can use your own model for the zombies, but I believe that you cannot change the face... you can try contacting the developper of that asset if you want to add more funtionalities.

    Yours faithfully,
     
  6. Rammbok

    Rammbok

    Joined:
    Jul 17, 2020
    Posts:
    2
    Hello

    I bought this asset, big compliment! But I have a question, is it possible to make a Zombie Co-Op Mod with multiple levels/scenes? E.g. I create a new game in the lobby and three more can play along. After 3 minutes a door opens and when one of the players presses the trigger behind the door, scene 2 is loaded for all players. There again the same and Scene 3 is loaded until the end of the game. If so, how or where do I have to do this? Thanks for an answer :)

    Greetings from Switzerland

    (Sorry, my English is not perfect, I hope you understand what I mean)
     
  7. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Hello, glad you liked the asset!

    Well, the idea that you are sharing is related to level game design, which is a common question for normal game developement. The solution for your problem is to create a new scene transition when a condition is met, such as in this case a door that opens.

    Try using the "SceneManager" or similar to navigate betweeen scenes.

    Code (CSharp):
    1. if (doorIsOpen)
    2. {
    3.          
    4. PhotonNetwork.LoadLevel((int) sceneIndex);
    5.  
    6. }

    If you are experiencing problems and need customization for your project, please contact us directly at:

    michael.soler.beatty@gmail.com
     
  8. Rammbok

    Rammbok

    Joined:
    Jul 17, 2020
    Posts:
    2
    Thanks for the quick answer :) Okay, I'll give it a try ;)
     
  9. skymeson

    skymeson

    Joined:
    Sep 30, 2016
    Posts:
    15
    Hi there,
    I'm testing out the latest version v20.0 using 2019.4.7f1. I'm not able to run the project in editor which makes prototyping difficult. Tested a new project and had same issues. The PC platform gives some errors regarding VibrationManager which I just commented out, but then I'm not able to test in VR, even using link cable. Is there a workflow you would recommend to get the package to work on Vive, Oculus, and Quest? And is there a way to test the project in editor without having to build to device?
    Thanks
     
    Last edited: Oct 16, 2020
  10. Stankiem

    Stankiem

    Joined:
    Dec 4, 2013
    Posts:
    115
    I'm using 2019.3.3 whenever I turn on "auto enable VR" I get a looping progress bar with "com.unity.xr.openvr.standalone" I cannot get it to stop importing this unless I cause a compiling error in the code. Do you know how to fix this please?

    EDIT: I think I sorted it out. I needed to remove SteamVR and enabled Oculus in XR settings. I also downgraded versions on some of the XR packages too
     
    Last edited: Oct 23, 2020
  11. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Ok glad that you were able to make it work propely. Please follow us in the discord server:
    https://discord.gg/WqSxEU3
     
  12. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    We are changing the skin of the asset to make it package-independent, and compatible with URPL, more weapons and more...

    Here a short video with a simple test
     
  13. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Comming soon...
    upload_2020-11-4_21-7-31.png
     
  14. MichaelSolerBeatty

    MichaelSolerBeatty

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

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54

    Use a debug release or use a key store. To do that check the player settings.
     
  16. verbekelouis5

    verbekelouis5

    Joined:
    Sep 15, 2019
    Posts:
    2
    I have been running for more than 2hours now with the same message.
    I don't know what to do.
    Please help.

    upload_2021-2-8_20-25-56.png
     
  17. MichaelSolerBeatty

    MichaelSolerBeatty

    Joined:
    Jan 13, 2016
    Posts:
    54
    Use a debug release or use a key store. To do that check the player settings
     
  18. verbekelouis5

    verbekelouis5

    Joined:
    Sep 15, 2019
    Posts:
    2
    thank you so much
     
  19. LYGZXQ

    LYGZXQ

    Joined:
    Apr 20, 2022
    Posts:
    1
    Can the 3.0 version be installed correctly using the Unity2021 version? Excuse me, where can I see the installation steps or methods? thanks