Extending the OculusVR plugin


For medical purposes, I’ve added functionality to the OculusVR plugin in a source build of 4.18. This all works fine, but I would like to move my changes to a project specific plugin, so I don’t need to use a source build of the engine.

I’ve tried to refactor a copy of the OculusVR plugin to get it to work as a project plugin, but I can’t get rid of all override,duplicate and existing methods errors.

My question is, is there an easy way to use my added functionality in a custom plugin? Would it be possible for me to make to OculusVR plugin project based? Or is there a smart way to extend the OculusVR plugin in a custom project plugin to make this work?

FYI, I added a BlueprintCallable function to the OculusFunctionLibrary.h and which calls a function in OculusHMD to make my changes.