I’m trying to make an app using the Motion Controller for the Daydream, but Google’s website says that you need to install their specific version of Unreal (which is only 4.13). I already have a project set up in 4.14, and don’t want to redo my whole project to just work in 4.13 with the controller. Can I somehow compile this to work in 4.14? This person here says he did it but I don’t know how to “merge it into the new branch.”
I guess I was overthinking this. I don’t even need to compile google’s branch at all.
Before doing anything, I don’t know if it matters or not, but I cut and paste Engine/Plugins/Runtime/GoogleVR/GoogleVRController/ in my already existing 4.14 installation and put it somewhere else.
Turns out you can just go into Engine/Plugins/Runtime/GoogleVR/ (this is in the google vr 4.13 repository, you don’t have to compile it) and copy the GoogleVRController folder into the plugins folder of a new c++ project (I couldn’t do it in my regular project because it kept complaining about plugin not compatible). I restarted the editor along with vs and then just did build all on the project and let it compile. After that I just copy pasted that GoogleVRController folder into the plugins folder of my other project and went to plugins->project->input devices and checked it and it worked
Do you ever put the plugin into the actual engine or do you only compile for the project?
https://nesrak1.github.io/gvr4ur/plugin.html
If you want I have a precompiled plugin too: GoogleVRControllerInputComponent in branch 4.13-google-vr ? - XR Development - Unreal Engine Forums
Thanks nesrak1 it works just like you said. Once the c++ project compiles with the GVRController plugin. You can copy the folder into you Engine/Plugins/Runtime/GoogleVR/ and the build again to have it compiled to the engine.
Do I still need to use your compiled version of the plugin to develop for Daydream? I noticed 4.14 has a Google VR Motion Controller plugin.
Nope you have two options for 4.14+ support now:
UE4.15 binary
or
UE4.14 Googlevr branch: https://github.com/googlevr-unreal/UnrealEngine/tree/4.14-googlevr
Note the Epic UE4.14 still does not have the latest SDK to include the proper google vr controller