NullReferenceException about ApiError in unity

unity

#1

I did call Twitter.Compose()

       Twitter.Compose (Twitter.Session, _imgURL, "My new high score!", new string[]{"#SpaceShooter"},
          (string tweetId) => { UnityEngine.Debug.Log ("Tweet Success, tweetId = " + tweetId); },
          (ApiError error) => { UnityEngine.Debug.Log ("Tweet Failed " + error.message); },
          () => { Debug.Log ("Compose cancelled");}
        );

i got a callback failed but error is null, so i can’t access error.message, why error is null?

how do i tweet?


#2

I resolved this topic

I downloaded the Unity package from git, but it works fine I got it from the Asset Store.

I’m sorry I don’t speak english well. Thank you.