oculus-samples / Unity-Movement

Body, Eye and Face Tracking code sample.
Other
269 stars 45 forks source link

Error on `RetargetingLayer.cs` after installing package #24

Closed hynchl closed 1 year ago

hynchl commented 1 year ago

I am struggling with installing Movement SDK... After installing package using git, I got this error.

Library\PackageCache\com.meta.movement@f6654169ac\Runtime\Scripts\AnimationRigging\RetargetingLayer.cs(329,31): error CS1061: 'Transform' does not contain a definition for 'SetLocalPositionAndRotation' and no accessible extension method 'SetLocalPositionAndRotation' accepting a first argument of type 'Transform' could be found (are you missing a using directive or an assembly reference?)

I tried to (1) remove library cache and re-install, and (2) reinstalling with local file. However, I got same error even when I make a new project.

This is my current relevant configuration.

Is there anything I could miss?

hynchl commented 1 year ago

I found that I missed the version of unity version. I update the version of unity to 2021.3.26. Now, everything works well.. thanks!