Playmaker Forum

PlayMaker Help & Tips => VR Help => Topic started by: Duckk on October 10, 2021, 04:56:44 PM

Title: SteamVR Playmaker Asset Causing Errors!
Post by: Duckk on October 10, 2021, 04:56:44 PM
Scripts from the SteamVR Playmaker asset are causing this Error: The type or namespace name 'SteamVR_Controller' could not be found (are you missing a using directive or an assembly reference?)

The type or namespace name 'SteamVR_TrackedObject' could not be found (are you missing a using directive or an assembly reference?)
Title: Re: SteamVR Playmaker Asset Causing Errors!
Post by: djaydino on October 10, 2021, 06:11:02 PM
Hi.
Did you install the steamVR asset before installing the actions?
Title: Re: SteamVR Playmaker Asset Causing Errors!
Post by: Duckk on October 10, 2021, 06:22:26 PM
I Installed the actions then SteamVR
Title: Re: SteamVR Playmaker Asset Causing Errors!
Post by: djaydino on October 11, 2021, 07:18:18 PM
the error code "The type or namespace name 'SteamVR_Controller' could not be found"

means that somethings missing.

its possible that the import of SteamVR has not completed due to errors in your project (by importing actions before the asset for example)

try removing the actions and steamvr until you don't have any errors in your console.
then install steamvr and see if no errors occur.
then install the actions.
Title: Re: SteamVR Playmaker Asset Causing Errors!
Post by: stigma on October 22, 2021, 04:10:54 PM
I have the solution on Discord. You must delete the Steam VR Playmaker samples folder.
Title: Re: SteamVR Playmaker Asset Causing Errors!
Post by: djaydino on October 22, 2021, 10:09:28 PM
Hi.
Thanks for sharing