https://metaplay.io logo
h
When enabling Steam authentication, following this guide: https://docs.metaplay.io/feature-cookbooks/social-logins/implementing-steam-auth.html I get the following compilation issue in Unity:
Copy code
MetaplaySDK/Client/Unity/IAP/Steam/IAPClientDelegateSteam.cs(254,63): error CS0103: The name 'HttpUtility' does not exist in the current context
I guess it is because
System.Web
is missing in Unity 6. So to work around it I need to change the code in the SDK. Is this a known issue or should I do something differently? Thanks
j
In our Idler sample running on Unity 6000.1.1f1 the issue does not reproduce. The visual studio project "Metaplay" has a reference to System.Web.
Are you on the latest Metaplay version (R33)?
Also are you using something other than the net standard 2.1 compatibility mode in unity?
h
Sorry, I was re-visiting this issue and I forgot to respond earlier. The issue was as you mentioned. We were referencing .NET Framework instead of .netstandard. It works fine now!
j
We are actually fixing this in the next release, so if you want you can keep running net framework