leapmotion / LeapMotionCoreAssets

Unity Assets for Leap Motion v2 Skeletal Tracking
Apache License 2.0
166 stars 81 forks source link

PolyHands mesh generation throws error #149

Closed jo3w4rd closed 8 years ago

jo3w4rd commented 8 years ago

When any of the PolyHand prefabs are drawn, Unity throws an error:

Failed getting triangles. Submesh topology is lines or points.
UnityEngine.Mesh:get_triangles()
PolyFinger:InitCapsMesh() (at Assets/LeapMotion/Scripts/Hands/PolyFinger.cs:202)
PolyFinger:InitFinger() (at Assets/LeapMotion/Scripts/Hands/PolyFinger.cs:38)
PolyHand:InitHand() (at Assets/LeapMotion/Scripts/Hands/PolyHand.cs:26)
HandController:UpdateHandModels(Dictionary`2, HandList, HandModel, HandModel) (at Assets/LeapMotion/Scripts/HandController.cs:328)
HandController:Update() (at Assets/LeapMotion/Scripts/HandController.cs:527)

I suspect this is due to a change in Unity since the PolyHand scripts were created.