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?
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 …
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
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
The button is set up to press in the negative direction of whatever axis you set for it, IE: Axis_Z will press in -Z direction.
If you want the button to move in the other direction than you just need to rotate the button component 180 degrees on its interactive axis. If you mean that the MESH is going the wrong way, then your mesh is upside down or flipped. I wouldn’t use negative scaling to fix that because component bounds are incorrectly calculated when an axis is flipped and a lot of small things break (like Epics vr template hands).
You can re-import the mesh to correct it.
After you build a development build you can literally just launch the UProject and use the engine like normal, the compilation is to setup the binaries so that you can do that. You can also download the pre-packaged binary .zip files and just use those, but I warn people that generally its preferable to learn to compile it yourself. With manual compilation if a new hotfix comes out and you need to work right away you can just re-compile and go, generally hotfixes in the same engine version don’t require source changes.
Hotfixes don’t always require recompilation (they aren’t supposed to), but “sometimes” they do and its better safe than sorry.
Not to mention that I add fixes and features constantly and I batch them into the .zip downloads so I don’t have to re-compile every binary every day, so the repository is generally a few days to a week or two newer and better than the downloads.
The button is set up to press in the negative direction of whatever axis you set for it, IE: Axis_Z will press in -Z direction.
If you want the button to move in the other direction than you just need to rotate the button component 180 degrees on its interactive axis. If you mean that the MESH is going the wrong way, then your mesh is upside down or flipped. I wouldn’t use negative scaling to fix that because component bounds are incorrectly calculated when an axis is flipped and a lot of small things break (like Epics vr template hands).
You can re-import the mesh to correct it.
Ok. I see the problem then its a paddle button on a door. Like the tyoes you find in schools and hospitals, where you just press and the door unlocks. But its on the back side of the door so that would make it backwards as far as the buttons code is concerned.
Thanks
Yeah, the point is that you set the mesh up correctly once and then just rotate the component to match whatever angle / position it needs to be in and it just works. IE: the button on both sides of the door you would just 180 it on the back side and you don’t need two meshes.
The axis is relative to its parent (if it has one).