ValveSoftware / steamvr_unity_plugin

SteamVR Unity Plugin - Documentation at: https://valvesoftware.github.io/steamvr_unity_plugin/
BSD 3-Clause "New" or "Revised" License
1.03k stars 256 forks source link

SteamVR #1084

Open MrNik444 opened 1 year ago

MrNik444 commented 1 year ago

hello, I'm making a VR game on Unity using the SteamVR plugin. When I try to teleport the game freezes and gives an error: NullReferenceException: Object reference not set to an instance of an object Valve.VR.SteamVR_Action_Vibration.Execute (Single secondsFromNow, Single durationSeconds, Single frequency, Single amplitude, SteamVR_Input_Sources inputSource) (at Assets/SteamVR/Input/SteamVR_Action_Vibration.cs:49) Valve.VR.InteractionSystem.Hand.TriggerHapticPulse (UInt16 microSecondsDuration) (at Assets/SteamVR/InteractionSystem/Core/Scripts/Hand.cs:1428) Valve.VR.InteractionSystem.Teleport.PlayPointerHaptic (Boolean validLocation) (at Assets/SteamVR/InteractionSystem/Teleport/Scripts/Teleport.cs:804) Valve.VR.InteractionSystem.Teleport.HighlightSelected (Valve.VR.InteractionSystem.TeleportMarkerBase hitTeleportMarker) (at Assets/SteamVR/InteractionSystem/Teleport/Scripts/Teleport.cs:928) Valve.VR.InteractionSystem.Teleport.UpdatePointer() (at Assets/SteamVR/InteractionSystem/Teleport/Scripts/Teleport.cs:350) Valve.VR.InteractionSystem.Teleport.Update() (at Assets/SteamVR/InteractionSystem/Teleport/Scripts/Teleport.cs:291)