I made some changes in the default SteamVR module. I don’t know if (or when) Epics approve my pull request, and this fix is important for developers using my Vive Mocap plugin, so I’d like to publish it here as a patch.
List of changes:
- bug fix: crash at the engine startup with 4+ Vive Trackers
- bug fix: with 3+ Vive Trackers: any input event from the left motion controller cause crash
- bug fix: Steam_Generic_Trigger, Steam_Generic_Touchpad, Steam_Generic_Grip, Steam_Generic_Menu events for Vive Trackers declared, but not initialized
- bug fix: bad mapping of Vive Trackers to EControllerHand after turning off and on one of the trackers (multiple trackers could be mapped to the same Special_N key)
Changes in sources: https://github.com/EpicGames/UnrealEngine/pull/4492
This patch is** only for Windows x64**! [TABLE=“border: 1, cellpadding: 1, width: 500”]
Download (now for packaging)
4.19.0 Preview 5
How to install:
- Make sure UEngine isn’t launched.
- Make a backup copy of the [Program Files\Epic Games\UE_[engine version]\Engine\Plugins\Runtime\Steam\SteamVR] folder!
- Copy with replace [SteamVR] folder from the archive to [Program Files\Epic Games\UE_[engine version]\Engine\Plugins\Runtime\Steam]
Important! Input from Vive Trackers doesn’t work with SteamVR Beta (v1.0.15). I can’t fix it via SteamVR plugin only, because it’s necessary to add support for the lastest OpenVR SDK (Engine\Source\ThirdParty\OpenVR) and to add actions manifest file which would affect all UE4 projects and the Editor itself.