VR Expansion Plugin

ok. i don’t plan to get to crazy by allowing a ton of objects to p3ush me around. but i should probably be good with doors right. i kept haveing to make crazy systems to handle blocking the player when i didn’t want them to be able to go thru it. turns out unless i use an invisible wall, and put up with a glitchy door. you could grab the handle and just rush through without ever opening it, and the door just yields to you.

are there other serious issues you ran into. or is it just game physics being less fun when you can feel there micro collisions and jitters in game

Yo ** is it predictable when the stable 4.20 version will be realesed**

? The template door turns on and off simulation to block people from going through doors, it works fine.

Regardless, the main issue IS the micro stutters when being blocked, that can be really disturbing in VR.

The engine or the plugin? Both a pretty stable in 4.20 right now. You could wait until 4.20.2 if you wanted too, but it likely isn’t required.

Is there something special I have to do to get clients to recognize my custom playerState? I set the Player State Class in SteamVR_GM in the example project to my custom player state, but when trying to access variables inside it the cast always fails on clients.

I haven’t tested with multiple PCs, only 1 running multiple in engine players. Im in 4.18.

Edit: I tried to use a workaround by setting variables on Vive_Pawn character when it is spawned in Steam_VR_Player_Controller, but even then, it only sets the variable on the host and not the client.

I’ve seen others having the same issue, but I just haven’t found the solution … I am trying to get the 4.19 VRExpPluginExample to run, I have followed the steps, but fail to get the soulution to build or the .uproject to run.

Steps taken:

Go to downloads and download 4.19 Locked .zip
Right click .uproject and switch to 4.19, it generates files
open .sln
build solution

results in …
Build: 2 succeeded, 1 failed

run .uproject

missing modules or built with different engine …
VRExpPluginExample.dll
AdvancedSessions.dll
AdvancedSteamSessions.dll
OpenVRExpansionPlugin.dll
VRExpansionPlugin.dll

I have been able to build the VRExpansionPlugin and add it to an existing project, but I would love to be able to view the template to get a better understanding of how you put your interactions together.

Obviously many people are getting to work, am I overlooking something?

Thanks

You need to build it for DevelopmentEditor, that is what the uproject uses.

Also what failed? Nothing should fail and you should just have “2 succeeded”

thank you for your quick response,

I did build it for Development Editor … here is my output:

1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Build started: Project: Studio, Configuration: BuiltWithUnrealBuildTool Win32 ------
3>------ Build started: Project: VRExpPluginExample, Configuration: Development_Editor x64 ------
3>Performing full C++ include scan (building a new target)
3>Creating makefile for VRExpPluginExampleEditor (no existing makefile)
3>Parsing headers for VRExpPluginExampleEditor
3> Running UnrealHeaderTool “C:\Users\Documents\Self Interactive\Development-vrexppluginexample-8226c7a4d353\VRExpPluginExample.uproject” “C:\Users\Documents\Self Interactive\Development-vrexppluginexample-8226c7a4d353\Intermediate\Build\Win64\VRExpPluginExampleEditor\Development\VRExpPluginExampleEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
3>LogCompile : error : Failed to save header export preview: ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’
3>LogCompile : error : Failed to save header export preview: ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : Error moving file ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’.
3>LogCompile : error : Error exporting AdvancedSteamSessions: couldn’t write file ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h’
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : MoveFile was unable to move ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’, retrying in .5s…
3>LogFileManager : error : Error moving file ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h.tmp’ to ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’.
3>LogCompile : error : Error exporting AdvancedSteamSessions: couldn’t write file ‘C:/Users//Documents/Self Interactive/Development/-vrexppluginexample-8226c7a4d353/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSteamSessions/SteamWSRequestUGCDetailsCallbackProxy.generated.h’
3>EXEC : error : UnrealHeaderTool failed for target ‘VRExpPluginExampleEditor’ (platform: Win64, module info: C:\Users\Documents\Self Interactive\Development-vrexppluginexample-8226c7a4d353\Intermediate\Build\Win64\VRExpPluginExampleEditor\Development\VRExpPluginExampleEditor.uhtmanifest, exit code: OtherCompilationError (5)).
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ““C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat” VRExpPluginExampleEditor Win64 Development “C:\Users\Documents\Self Interactive\Development-vrexppluginexample-8226c7a4d353\VRExpPluginExample.uproject” -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run command.
3>Done building project “VRExpPluginExample.vcxproj” – FAILED.
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

EDIT: I got to build and the .uproject to run, I downloaded .zip for 4.19 Locked AdvancedSessions and replaced plugin the example came with, resulting in …

========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Please put that in code brackets so it scrolls.

Your issue was that you left the download in the auto generated name folder that bitbucket creates, your file name length was too long for it to generate the files in those locations, remove all of the extra fluff characters that it added.

Also the reason it worked with the download is because it is already built for you.

Sorry about that, I am unfamiliar with the markdown syntax to make it scrollable.

I actually created a new folder with a much shorter folder name and moved all the contents inside, maybe I am misunderstanding. All is good though, adding that prebuilt download of AdvancedSessions got me up and running, digging through your example now … greatly appreciate all you have done/continue to do for the UE4/VR community … i’ll be sure to catch you on patreon.

hey **. is there an callable event to change a gripable meshes grip type at run time. i wanted to make certain doors breakable in old abandoned places. everything works fine but if i leave it set to manipulation grip when the door is broken, it flails because it doesnt get grip rotaion. and if i set it to attach i can just walk off with it. **

Yes, if you mean for the next grip, you can literally set it in the VRGripInterfaceSettings struct that comes with the grippables to whatever value you want (SetMembers), or even override the PrimaryGripType interface function on the object and pass out whatever you want.

If you mean DURING a grip then that is also possible, you can call

https://.bitbucket.io/VRExpansionPlugin/VR/GripMotionControllerComponent/nodes/SetGripCollisionType.html

Which will change the type of grip on the fly while holding it.

cool. ill look into in a bit. thanks

edit. works like a charm. just not the way i initially thought. thanks again

can someone please tell me what plugin does? Will it make me stop walking through the walls in VR preview mode?

That is one of its features yes, there is a shortened list of features in the first page.

if you want it in vr it probably does it or enables you to do it easily.

I would like to use but I keep getting error from visual studio 2017

We can’t look up email address right now. Please try again later.

also when I put the plugin folders in my project unreal tells me plugins are from a differet engine

Im using engine 4.20 , is there a version for ?

Master / Default branches are on 4.20 right now, regardless they need to be compiled unless you download one of the pre-built packages.

yes followed your directions and now it shows up.

will allow me to move the VR pawn around the map and use the wasd and mouse to move around?

is the most up to date video

https://www.youtube.com/watch?time_c…&v=cRVhdjpMyys

on the plugin showing you step by step process on how to use it for the not so technically inclined people like me? is there a VR Expansion Plugin for dummies?

im very excited as I think will help me be able to grab a hand held radar in game.

There is no “step by step” really, the template mostly assumes that you have some familiarity with the engine to begin with, it is for advanced features.

For WASD and locomotion, yes you can do that with it.

As for a hand held radar, you could do that without the plugin entirely, not entirely sure what the difficulty would be there.

so im not sure if im doing wrong. but the vr button isnt pressing the correct direction. it wants to slide towards me instead of away. i tried a negative value thinking it would reverse, but it stopped working. i havent had happen with it untill mesh