this project requires the 'LeapMotionController' plugin,which could not be found

I found the leapmotion demo pack from here https://developer-archive.leapmotion.com/gallery/unreal-4-9-demo-pack.
I was interested in the demo LeapCodeExample,because I wanted to know how to use and link to the Leap Motion plugin from C++ code.My product is UE 4.17 and the leapmotion plugin is official.When I open the LeapCodeExample.uproject ,it said that

this project requires the
‘LeapMotionController’ plugin,which
could not be found

226228-04zt.png

Anyone know how to solve it?

Hi,

You would need to manually enable the Leap Motion Plugin that comes preinstalled with the Engine. Simply open your project, go to the Settings > Plugins. Find the Input Devices section and enable Leap Motion Plugin. Restart the editor and your Leap Motion project should now open without any issues.

Thank you very much.The problem is that I can’t open the project.When I open the LeapCodeExample.uproject ,an error occurred just like the piture above.Should I modify the LeapCodeExample.Build.cs ?

I think that plugin and the project is no longer supported by Epic and Leap Motion. It’s for an older version of the Engine and if you read the first line it says “Due to an issue with Actor transforms in Unreal 4.9, we currently recommend that everyone build with getnamo’s community plugin”. Here’s the link to getnamo plugin which is the one that comes with the Engine. The GitHub has a tutorial as well which can help you get started with it.

Plugin configuration is inside uproject file, depencies in build script are only info that your module requires the module inside the plugin during build process

If APIs are the same or even not so changed, renames should do the job with potential code fixing :>

Thanks for adding that info @anonymous_user_f5a50610. Though the problem with this project is that it uses a plugin named “LeapMotionController”. Afaik the Engine doesn’t have such plugin anymore and I’m not sure where you can get it from. Maybe this is an old one that is not supported anymore. The only current plugin for Leap Motion is called “LeapMotion”.

@zhudongwork As pointed out, you can see plugin configuration inside the .uproject file. Simply open the .uproject file by any text editor where you can see which plugins are on and which ones are turned off.

Thank you very much for helping me.As Vizgin @Vizgin said that this demo park’s version was too old.We couldn’t find the plugin named “LeapMotionController”.Only we could find is the getnamo plugin. I opened the .uproject file and saw the plugin configuration as said @anonymous_user_f5a50610 .I changed “LeapMotionController” to “LeapMotion”.But it did’t work.So I thought that this demo park LeapCodeExample was no reference to me .