Jump to content

Installing Vive HandTracking Unreal Plugin as an Unreal project plugin instead of Engine Plugin.


Recommended Posts

Title says it all. Is there a way to install the plugin to my Unreal C++ project without copying the ThirdParty libs to the Engine directory? When I copy the ViveHandTracking source folder under ThirdParty (i.e. <PROJECT>/Source/ThirdParty/ViveHandTracking) and copy the ViveHandTracking plugin folder to my project Plugins folder (<PROJECT>/Plugins/ViveHandTracking) I get the following build error (after wiping temp files, regenerating the .sln and attempting a rebuild):

 

Anyone see what is causing this to fail?

It doesn't seem to be building properly even though the local machine path to the .dll is:

"<PROJECT>/Source/ThirdParty/ViveHandTracking/libs/aristo_interface.dll".

 

Any help?

 

Link to comment
Share on other sites

Hi, I have known your question, and I really recommend you not change the third party path.

Cuz third party libs will be loaded at runtime and copied into package from Engine/Source/ThirdParty/ViveHandTracking.

You could also change the path in ViveHandTracking.cs and *.xml(UPL for AndroidManifest) as you want, then you have to copy third party into the path you set.

Please let me know if you solve it.

Link to comment
Share on other sites


 wrote:

Hi, I have known your question, and I really recommend you not change the third party path.

Cuz third party libs will be loaded at runtime and copied into package from Engine/Source/ThirdParty/ViveHandTracking.

You could also change the path in ViveHandTracking.cs and *.xml(UPL for AndroidManifest) as you want, then you have to copy third party into the path you set.

Please let me know if you solve it.

 

I'm not sure I'm understanding your response. I am not changing any ThirdParty path.

 

Most Unreal SDK plugins I've used in the past can be loaded from a ThirdParty path folder contained in either <Project>/Source/ThirdParty/<Plugin> or <Engine>/Source/ThirdParty/<Plugin>. If I try the first of these with the Hand Tracking SDK however, I get the error mentioned in the post. Does this mean that there is no way to use this as a plugin in a single project instead of adding it as an Engine-wide plugin? (I know Engine plugins can still be disabled on a per-project basis, but it would greatly benefit our team if we don't have to modify our Engine source directories.)

Link to comment
Share on other sites

Our plugin is disabled as default, so it will not be loaded when you open your project or editor.

I have known your concern, but  it could be loaded from either <Project>/Source/ThirdParty/<Plugin> or <Engine>/Source/ThirdParty/<Plugin>, which means Third party libs would be copied twice  into different directories.

Could you please give me an example that  any plugin like that? It would be good for us to make it better.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...