Skip to content

Plugin compatible with version 4.26 #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lcjefferson opened this issue Jan 7, 2021 · 17 comments
Closed

Plugin compatible with version 4.26 #71

lcjefferson opened this issue Jan 7, 2021 · 17 comments

Comments

@lcjefferson
Copy link

I'm trying to open in version 4.26 of unreal, however, there is an error. Did they have an updated version of the plugin?

@SebastienTussiau
Copy link

Up

@z3099644
Copy link

I'm also very interested in a plugin compatible with 4.26

@1157457050
Copy link

Up

@omidghajar
Copy link

Hey sorry guys for my late reply and posting how to rebuild and compile the Plugin, I was busy and caught up with some projects,

Straight to the point, I will be explaining step by step with pictures for ease of understanding, How to Rebuild Leap Motion Plugin in Unreal Engine 4.25 or 4.26 successfully.

1- First you need to go to the link and download Microsoft Visual Studio 2019 , then make sure you download the community version as it is free, upon installation, you will prompt to tick what kind of installation components you want to install, and follow the picture which is idle for Unreal Engine.
Step (1)

2- Second, after installation, download the latest Leap Motion Plugin, in your project folder, create a folder calls "Plugins" and then extract the LeapUnreal-3.6.0.zip file into the "Plugins" folder.
Step (2)

3- After extractions, click on the project file to open, then you will prompt with the rebuilding the plugin, click on Yes to begin the rebuilding process.
Step (3)

4- You need to wait for the rebuild process, you do need to do anything, just sit back, you can click on Show Log to see the rebuilding process if you like to, it might take a while depends on your system.
Step (4)

5- Once the rebuild process is done, the project automatically will be opened as the picture below
Step (5)

6- BINGO! Unreal Engine has rebuilt the plugin successfully, as you tick show plugin content, you can find Leap Motion Content folder in under you plugin content.
Step (6)

7- I suggest to close Unreal and connect your leap motion and then reopen your project and you are ready to configure and use your beautiful leap motion controller, you can check the "How to use it - Convenience Rigged Pawn" following the link at

PS: If you have a VR setup alongside your Leap Motion Controller, you can start with Option 1. VR Mode- Example Pawn and test your Leap Motion Controller and VR set in VR Mode, if you do not have VR set, you can still use Option 2. Desktop Mode - Example Actor to begin to use your Leap Motion Controller without using VR mode in Normal Play Mode or Simulation Mode.

You can check out the test video of Realtime Leap Motion Controller in Unreal Engine.

LeapMotionControllerUE4.25-4.26.mp4

Hope this could help you to kickstart your amazing journey with Leap Motion Controller and Unreal Engine.

Cheers 👍

Regards.
Omid.

@SebastienTussiau
Copy link

Thank you! Will try that!

@lcjefferson
Copy link
Author

Thanks!

@MaxPalmer-UH
Copy link
Contributor

Thanks @omidghajar for your input and helping others. We haven't got an official 4.26 release done yet, but the current master contents should be compatible with 4.26 and contains a few other fixes. As it's not part of an official release (i.e. not recommended for production) it hasn't been through an official QA test process but might be a good starting point for people.

@grifu
Copy link

grifu commented Feb 17, 2021

Thanks for this guide.
I've followed all steps with Visual Studio Community 2019, but still, LeapMotion returns an error while compiling in Unreal 4.26.1, with this error: LeapMotion could not be compied. try rebuilding from source manually.
After starting the project it prompts for rebuilding the plugin, then it starts building
It returns the following error:
LeapImage (83): error C2027: use of undefined type 'FTexture2DResource'

@getnamo
Copy link
Contributor

getnamo commented Feb 26, 2021

Replace FTexture2DResource with FTextureResource for 4.26 compatibility fix

@ando9527
Copy link

ando9527 commented Mar 4, 2021

Replace FTexture2DResource with FTextureResource for 4.26 compatibility fix

I got another issue after replacement.

'GetCurrentFirstMip': is not a member of 'FTextureResource'

@getnamo
Copy link
Contributor

getnamo commented Mar 5, 2021

See getnamo@73c0f50#diff-66eb947d81d9f03f4a0080690e22fa50bde8265fe05d7b00f095dec44d26557d for ref fixes

@JimSimons-UH
Copy link
Contributor

@lcjefferson this is now fixed so closing the issue.

@SebastienTussiau
Copy link

I still get a "fatal error" message when building the .exe of the game in the Shinpping configuration in UE4.26 Does anyone have this problem?

@omidghajar
Copy link

I still get a "fatal error" message when building the .exe of the game in the Shinpping configuration in UE4.26 Does anyone have this problem?

As @MaxPalmer-UH said and I quote "not recommended for production) it hasn't been through an official QA test process" so it is advisable not to use it yet for shipping the product, but maybe he would be able to guide you for this issue.

@SebastienTussiau
Copy link

I still get a "fatal error" message when building the .exe of the game in the Shinpping configuration in UE4.26 Does anyone have this problem?

As @MaxPalmer-UH said and I quote "not recommended for production) it hasn't been through an official QA test process" so it is advisable not to use it yet for shipping the product, but maybe he would be able to guide you for this issue.

Thank you for your reply @omidghajar , @MaxPalmer-UH when should we expect an official release of the plugin for ue4.26?

@JimSimons-UH JimSimons-UH reopened this Mar 23, 2021
@JimSimons-UH
Copy link
Contributor

Tracking this now in the other issue #77.

@wilbercl
Copy link

Hello, I need the UnrealCV plugin for Unreal Engine 4.27, I'm trying to connect to the server of a videogame engine (binary game) (.exe) and it gives me the following error:

ERROR:__init__:205:Can not connect to ('localhost', 9000)
ERROR:__init__:206:Error [WinError 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión
ERROR:__init__:153:Fail to send message, client is not connected

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests