playMaker

Author Topic: Steam VR Playmaker Toolkit [Asset]  (Read 14823 times)

sebaslive

  • Hero Member
  • *****
  • Posts: 559
    • View Profile
    • Frame Tale Studios
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #30 on: February 26, 2019, 06:26:34 PM »
Hi Kavery,

These errors are telling me that the Steam VR Asset is missing.

https://assetstore.unity.com/packages/tools/integration/steamvr-plugin-32647

If you are using an earlier version of unity, it is recommended to use Steam VR 1.0

Found at the bottom of this page.

https://github.com/ValveSoftware/steamvr_unity_plugin/releases?after=2.2b3
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

UCRS

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #31 on: March 26, 2019, 03:15:34 AM »
I bought this because the tutorial, which you also link in your app profile.
I am getting a whole array (27) of errors, here are a few:
Assets\SteamVR_Playmaker\GetControllerPositionAndVelocity.cs(7,30): error CS0246: The type or namespace name 'SteamVR_TrackedController' could not be found (are you missing a using directive or an assembly reference?)
Assets\SteamVR_Playmaker\GetControllerPositionAndVelocity.cs(13,14): error CS0246: The type or namespace name 'SteamVR_Controller' could not be found (are you missing a using directive or an assembly reference?)
Assets\SteamVR_Playmaker\GetGrip.cs(8,30): error CS0246: The type or namespace name 'SteamVR_TrackedController' could not be found (are you missing a using directive or an assembly reference?)
Assets\SteamVR_Playmaker\ChangeTouchpadModelController.cs(7,30): error CS0246: The type or namespace name 'SteamVR_TrackedController' could not be found (are you missing a using directive or an assembly reference?)

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 740
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #32 on: March 26, 2019, 05:51:25 AM »
Sounds like you are missing the steam VR asset or have the wrong version installed.

UCRS

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #33 on: March 26, 2019, 06:21:02 AM »
Sounds like you are missing the steam VR asset or have the wrong version installed.

I started the project today and downloaded the newest versions of all assets. Maybe that is my mistake - thinking them all up-to-date?

sebaslive

  • Hero Member
  • *****
  • Posts: 559
    • View Profile
    • Frame Tale Studios
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #34 on: March 26, 2019, 07:37:58 AM »
I will take a look at the files. What the error is telling me is that Steam VR is missing but it may be that Steam VR has updated their files again. (They have been tweaking steam vr once a month this year)

Edit: It should work, make sure you also have your actions set up as well.
« Last Edit: March 26, 2019, 10:00:59 AM by sebaslive »
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

UCRS

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #35 on: March 27, 2019, 12:00:29 AM »
I will take a look at the files. What the error is telling me is that Steam VR is missing but it may be that Steam VR has updated their files again. (They have been tweaking steam vr once a month this year)

Edit: It should work, make sure you also have your actions set up as well.

I am a "newb", but I have done the same as in your linked video in 3 projects and tried it again on a 2017 version - none of them work :(

Edit: I found the answer - Valve have updated the code to use the new SteamVR Input system (removing the previous Controller system)

https://stackoverflow.com/questions/52451153/steamvr-controller-could-not-be-found
« Last Edit: March 27, 2019, 12:16:52 AM by dp@ucrs.dk »

UCRS

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #36 on: March 27, 2019, 01:33:45 AM »
However, using the older version, of steam VR 1.2.3, creates another issue when using the "Get Trigger" action. So I don't think it is a solution to use an older version of steam.

As can be seen below the controller is identified as "outside the bounds".

IndexOutOfRangeException: Index was outside the bounds of the array.
SteamVR_Controller.Input (System.Int32 deviceIndex) (at Assets/SteamVR/Scripts/SteamVR_Controller.cs:152)
HutongGames.PlayMaker.SteamVR_FSM.GetTrigger.get_controller () (at Assets/SteamVR_Playmaker/GetTrigger.cs:16)
HutongGames.PlayMaker.SteamVR_FSM.GetTrigger.OnUpdate () (at Assets/SteamVR_Playmaker/GetTrigger.cs:80)
HutongGames.PlayMaker.FsmState.OnUpdate () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:265)
HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2783)
HutongGames.PlayMaker.Fsm.Update () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1995)
PlayMakerFSM.Update () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:586)
« Last Edit: March 27, 2019, 01:36:57 AM by UCRS »

sebaslive

  • Hero Member
  • *****
  • Posts: 559
    • View Profile
    • Frame Tale Studios
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #37 on: March 27, 2019, 09:11:35 AM »
Inside the extra folder there are actions for Steam VR 1.0. You can remove the newer actions and open the ones inside this folder if you wish to use the older version of Steam, BUT the main issue is that 2.0 with all the latest updates aren't working.

So I first installed Unity 2018.3.10 which is currently the latest version.
Next I went to the asset store and imported the latest version of SteamVR Plugin.
-> In Unity under window, you have to select SteamVR Input. And select Save and generate (found in the bottom left) This will install the necessary inputs that the toolkit will use.
Next, I imported the lastest version of playmaker. (And went through the install process with the welcome to playmaker window)
Last, I imported the latest version of Steam VR Playmaker which works with Steam VR 2.0.

I am running it now without any errors. I will work on a new video that will hopefully reflect the process better to go with the ongoing updates. Please let me know what issues you run into, which version of Unity as well. The latest updates only show on the latest version of Unity, which may also be causing the issue.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

UCRS

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #38 on: March 28, 2019, 12:35:23 AM »
Inside the extra folder there are actions for Steam VR 1.0. You can remove the newer actions and open the ones inside this folder if you wish to use the older version of Steam, BUT the main issue is that 2.0 with all the latest updates aren't working.

So I first installed Unity 2018.3.10 which is currently the latest version.
Next I went to the asset store and imported the latest version of SteamVR Plugin.
-> In Unity under window, you have to select SteamVR Input. And select Save and generate (found in the bottom left) This will install the necessary inputs that the toolkit will use.
Next, I imported the lastest version of playmaker. (And went through the install process with the welcome to playmaker window)
Last, I imported the latest version of Steam VR Playmaker which works with Steam VR 2.0.

I am running it now without any errors. I will work on a new video that will hopefully reflect the process better to go with the ongoing updates. Please let me know what issues you run into, which version of Unity as well. The latest updates only show on the latest version of Unity, which may also be causing the issue.

Thanks for the quick reply :)
I have done what you suggest, which did not work and I just tried in a new project again.
I am running the latest version of unity (Unity 2018.3.10) and installed the newest version of SteamVR through the Unity editor and Playmaker (Unity2018.3.Playmaker.1.9.0.p12). I have "Save and generate" the actions aswell, but I am still getting the 27 errors after installing your asset.
Also - [SteamVR Input] Saved actions manifest successfully. So the actions should have been generated.
« Last Edit: March 28, 2019, 12:37:34 AM by UCRS »

UCRS

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #39 on: March 28, 2019, 12:41:37 AM »
I just tried using the advanced option in the SteamVR input and created a action set for my project -this did nothing.

I have found "SteamVR_TrackedObject.cs" and "SteamVR_TrackedObject.cs.meta" in the folder Steamvr > Scripts 

My lack of coding knowledge really shows here. I tried coping all the files to different folders in hopes of there bring a reference error, but with no luck :)
« Last Edit: March 28, 2019, 01:08:14 AM by UCRS »

sebaslive

  • Hero Member
  • *****
  • Posts: 559
    • View Profile
    • Frame Tale Studios
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #40 on: March 28, 2019, 08:26:16 AM »
Can you send me your project file to info@frametalestudios.com. I really want to get this resolved for you to get started on your project.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

UCRS

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #41 on: March 29, 2019, 01:51:53 AM »
Can you send me your project file to info@frametalestudios.com. I really want to get this resolved for you to get started on your project.

Thanks a lot. I have send a mail!

sebaslive

  • Hero Member
  • *****
  • Posts: 559
    • View Profile
    • Frame Tale Studios
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #42 on: March 29, 2019, 11:04:04 AM »
So sorry can you send another to frametaleinfo@gmail.com. I got my emails confused!
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 559
    • View Profile
    • Frame Tale Studios
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #43 on: April 01, 2019, 09:25:17 AM »
Hey All, Just a quick note the toolkit in the Unity asset should look like this.



Found in the latest versions of Unity. Also to be wary of other steam playmaker toolkits that are named similarly in the asset store and, as the date of this post, are currently not updated to Steam VR 2.0.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 559
    • View Profile
    • Frame Tale Studios
Re: Steam VR Playmaker Toolkit [Asset]
« Reply #44 on: April 02, 2019, 09:01:41 PM »
UCRS, I sent you a reply to your email. I am not sure if you have seen it.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez