Jump to content

[PC VR / VBS] How to use DriverDebugRequest() on Unreal Engine


Vivi Wu

Recommended Posts

Unreal Engine does not provide OpenVR IVRDebug interface in SteamVRPlugin, therefore DriverDebugRequest() is not available for game project use.
 

What you need to do to use DriverDebugRequest() in Unreal Engine:

  1.  Link your Epic Games account to GitHub account and get authorized by Epic Games. 
    https://www.unrealengine.com/en-US/ue-on-github
  2. Modify and rebuilt Unreal Engine according to our GitHub repository
    https://github.com/ViveSW/UnrealEngine/tree/4.27-DriverDebugRequest
  3. You should be able to call DriverDebugRequest() from your Unreal project now!

 

If you want to check our sample project for a Blueprint example:

  1. Download sample project  : UE 4.27 sample projectDDRTest_Proj.zip
  2. Switch the sample project’s Unreal Engine version to your local build
    image.png.31f8affb68ffeb14425c34ed698c1f52.png
  3. Generate project file for sample project
    image.png.852b5a3696a529df6d2002905dffb1df.png
  4.  Now you can open the sample project and check Level Blueprint for the example of USteamVRFunctionLibrary::DriverDebugRequest()

Note: For debug usage, search for “DebugRequest” or “SendV2RParamToServer” In Steam/logs/vrserver.txt  to check if DriverDebugRequest() works properly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...