Skip to main content

LeanTween build errors

The LeanTween plugin fails to build. The reason could be GUIUtility does not contain a definition for RotateAroundPivot. Also, GUIStyle does not contain a definition for textColor, and several GL do not contain a definitions.

images-medium

This is likely due to LeanTween containing certain APIs that are not fully supported by Luna.

Possible solution:

  • Use #if !UNITY_LUNA to separate unsupported calls in LeanTween.cs from the build.