Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug PlayerAccounts : The name 'HttpUtility' does not exist in the current context error

Discussion in 'Authentication' started by vengefullfoot, Jul 8, 2023.

  1. vengefullfoot

    vengefullfoot

    Joined:
    Sep 24, 2018
    Posts:
    31
    Hello,

    I'm trying to integrate PlayerAccounts to my game, but I'm it looks like not being able to find HttpUtility.
    I had a look to my asmdef, but I didn't found where was the issue.
    Can someone help me, please ?
    I'm using Unity 2022,3,4f1.
     

    Attached Files:

  2. Evil-Otaku

    Evil-Otaku

    Joined:
    Oct 17, 2012
    Posts:
    69
    Make sure the Project Player Settings has the API set to .Net Standard 2.1
     
  3. vengefullfoot

    vengefullfoot

    Joined:
    Sep 24, 2018
    Posts:
    31
    Thank you very much I knew it would something stupid like that... It's working fine now.