Inside /Assets/PlayFabSDK/Shared/Internal/PlayFabHttp/PlayFabUnityHttp.cs
#if Unity_2021_1_OR_NEWER
should be
#if UNITY_2021_1_OR_NEWER
What's the unity version? Do you download this from the official repository GitHub - PlayFab/UnitySDK: Unity C# SDKs for PlayFab?
Unity version is 2021.2.2f1.
Importing the package from https://aka.ms/PlayFabUnityEdEx (which is linked in the readme file of the git repo) resulted in a warning about obsolete UnityWebRequest syntax on line #87.
Correcting the #if UNITY_... into being all-caps (like all the other ones) removed the warning.
I would make a pull request if I could find the SDK source on github, is it there?
Thanks for pointing this out. Please feel free to submit a pull request in PlayFab/SDKGenerator. The source code should be at SDKGenerator/PlayFabUnityHttp.cs at master PlayFab/SDKGenerator (github.com).
that's the repo I was missing!
Thank you, I will make pull requests in the future.
Thanks for your understanding and here is the pull request I've submitted on behalf of you: Fix the typo in #if Unity_2021_1_OR_NEWER by JayZuo Pull Request #763 PlayFab/SDKGenerator (github.com)
9 People are following this question.