The question is answered, right answer was accepted
2021.2.7: DownloadHandlerTexture and UnityWebRequestTexture not recognized?
After importing GooglePlayGamesPlugin into my project, I got these errors (see image and below). What am I missing? The PlayGamesAchievement.cs file is also attached.
Any help appreciated!
Unity version 2021.2.7f1
Errors:
- CS0103: The name "UnityWebRequestTexture" does not exist in the current context
- CS0103: The name "DownloadHandlerTexture" does not exist in the current context playgamesachievement.cs
Answer by vanBrusselGames · Jan 05 at 08:47 PM
In a new created project, there is no problem with those classes.
I compared the manifest and package-lock files in the Package folder. In my project WebRequestTexture was missing there.
When copying that parts to my project, the errors disappeared.
Follow this Question
Related Questions
google achievements and leaderboard problem 1 Answer
Unity Codeless IAP, Google Play Services Sign-in, Leaderboards and Achievements NOT WORKING! 0 Answers
Error in BUILD with UnityWebRequest but not in Editor 0 Answers
Data not Saving in Android Using Unity Persistance Saving Training. 1 Answer
My first game published made with unity 0 Answers