Hi!
I'm developing a desktop solution in Unity, where I need tool tracking.
I started developing in osx, using "LeapDeveloperKit_2.3.1+31549_mac". Everything was working fine, until I had to move over to Windows 10 to continue my development. There I downloaded the "Leap_Motion_SDK_Windows_2.3.1".
Now when I run the sketch I get a message that says
An application is requesting features not available in this version of Leap Motion service. Please install the latest leap motion v2 software
After some googling around, I realized that downloading V3 would remove this message. However, tool tracking is not supported in V3, and I don't need or want VR support for this solution.
I made a clean project where I only imported the Leap.dll, LeapCShar.Net3.5.dll and LeapCSharp.dll.
Even if I only try to run this simple sketch, the error message is triggered:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Leap;
public class LeapController : MonoBehaviour {
Controller controller;
// Use this for initialization
void Start () {
controller = new Controller ();
}
// Update is called once per frame
void Update () {
Frame frame = controller.Frame();
if (frame != null) {
if (frame.IsValid) {
Debug.Log ("num hands: " + frame.Hands.Count);
Debug.Log ("Tools: " + frame.Tools.Count);
}
}
}
}
My thinking is that I need an older version of the Leap Motion Core Assets, but I can't figure out if that is the case, and if so, what version should I get?
Has anyone got a solution to this problem?
Thanks in advance,
Hannes
Edit: got it working. Downloaded an older version of the leap motion core asset (v 2.3.1), and got it to work.