Hey guys! I’m having an issue with steamVR. I have mapped the controllers to a body and utilizing inverse kinematic solver I’ve been able to create a convincing body in game. Everything works great in the editor but when I pack the project and open it, steamVR is not recognized. The camera no longer tracks the unit or the hands so I’m unable to use HTC Vive in the compiled build… Am I missing a step?
I’ve simply followed the setup here: https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/QuickStart/2/index.html
Interestingly enough, the official guide says nothing about packing the build.
Can anyone help me ?
You can press Alt+enter. Better yet, there’s a console command you can put into blueprints something like stereo on.
Specifically, open the world blueprint of the starting level (or any entry level)
Add a Execute Console command to the event begin play node.
the command is stereo on
Copy and paste this node right into the blueprint editor.
Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_4727"
Begin Object Class=EdGraphPin Name="EdGraphPin_17186"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_17187"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_17188"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_17189"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_17190"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_17191"
End Object
Begin Object Name="EdGraphPin_17186"
PinName="execute"
PinToolTip="
Exec"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_Event_262.EdGraphPin_17147'
End Object
Begin Object Name="EdGraphPin_17187"
PinName="then"
PinToolTip="
Exec"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_17188"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target
Kismet System Library Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.KismetSystemLibrary')
DefaultObject=Default__KismetSystemLibrary
bHidden=True
End Object
Begin Object Name="EdGraphPin_17189"
PinName="WorldContextObject"
PinToolTip="World Context Object
Object Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
bHidden=True
End Object
Begin Object Name="EdGraphPin_17190"
PinName="Command"
PinToolTip="Command
String
Command to send to the console"
PinType=(PinCategory="string")
DefaultValue="stereo on"
End Object
Begin Object Name="EdGraphPin_17191"
PinName="SpecificPlayer"
PinToolTip="Specific Player
Player Controller Reference
If specified, the console command will be routed through the specified player"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PlayerController')
End Object
FunctionReference=(MemberParent=Class'/Script/Engine.KismetSystemLibrary',MemberName="ExecuteConsoleCommand")
Pins(0)=EdGraphPin'EdGraphPin_17186'
Pins(1)=EdGraphPin'EdGraphPin_17187'
Pins(2)=EdGraphPin'EdGraphPin_17188'
Pins(3)=EdGraphPin'EdGraphPin_17189'
Pins(4)=EdGraphPin'EdGraphPin_17190'
Pins(5)=EdGraphPin'EdGraphPin_17191'
NodePosX=224
NodePosY=-32
NodeGuid=138FEA55413DB0AE356EC4BCB358DD67
End Object
OH… that was easy! Thanks for your help
One more important tip: If steam VR isn’t yet running, you may have to run it as an administrator!