x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

LeapMotionController failed to load.

Hi.

We've successfully built UE4 from source files, and have been able to add the LeapMotionController to the game and have our hands show up ingame. However upon quitting the editor and re-opening it again we are met with an error message:

Can't find file for asset /Script/LeapMotioController Failed to load /Script/LeapMotionController.LeapMotionControllerComponent Referenced by SCS_Node_2

We then have to add the LeapMotionController to the player character again, and everything will work perfectly fine until the next time we start the editor.

Cheers.

Product Version: Not Selected
Tags:
more ▼

asked Mar 17 '15 at 07:15 AM in Using UE4

avatar image

Morridini
8 1 7

avatar image Morridini Mar 31 '15 at 09:18 AM

Not sure if bumping questions work, but this is still a big problem.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I solved this problem. You have to follow the development document for LeapMotion to include LeapMotion headers. Specifically this page: https://developer.leapmotion.com/documentation/unreal/unreal/Leap_Unreal_Cpp_Tutorial.html

And then you have to code in your component to your character to avoid this error. (Just follow a MyCharacter.h and MyCharacter.cpp example if you created a FPS code template.) I've attached my example for reference. Please do note that this is only my first try, so it might not be correct way to declare a UPROPERTY like I do in the file.

myvr2.zip (3.9 kB)
more ▼

answered Apr 04 '15 at 01:30 AM

avatar image

PenguinTD
137 14 18 227

avatar image Morridini Apr 07 '15 at 01:37 PM

Thank you, I'll try this within the next few days and return to mark the answer if it works for us.

avatar image Morridini Apr 09 '15 at 08:31 AM

This worked perfectly, thanks a lot Penguin.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question