Object Reference not set to an instance of an object when looking into an specific game object (LEAP MOTION)

Hi Everyone.

I’m not sure if there are many people that can resolve this issue, but I’m gonna ask anyway.

I’m trying out this piece of tech called Leap Motion. And I’ve been getting this error within the “Physics Hands Manager” in line 87 within the EditorUtils.cs of the Leap Motion code saying “Object reference not set to an instance of an object”.

I’ve given the line a debug and it goes as follows:

  • Switch (serializedproperty.propertytype)
  • Skips a few code lines.
  • return serializedproperty.float value.tostring();
  • and then fully goes to the end of the code

I’m not sure if it’s the Leap Motion’s coding problem or if I done something wrong.

If there are any Leap Motion enthusiasts that can help me out, it would be much appreciated.

leap motion is still alive?!?! : o

so what are those actual lines of code where it happens?
or is the plugin code somewhere in github to see..

The lines of code seem to go to the script files of the settings to the leap motion package. Which is of no help to me on what I need to resolve… I think.

If its concerned about the settings, everything is set to its defaults and it has not send any warnings saying I’m not using the correct settings…

I’m not sure if it does not like me using the 7.2.0 version instead of the 7.3.0 version.

I’ve tried updating the package, the error disappears! But now the leap motion controller won’t connect, even though it is plugged in.

Here’s where it sends me to when I click on the error. I’m gonna be very honest. I have absolutely no idea what this is suppose to do…

ok try going through all the line numbers in that log,
try that 234 next, whats there?


This ^^^^^^^^^^


Sends me here… Within the PhysicalHandsSettings.cs

and then next one?

do their demo scenes work? (is this your custom scene?)