Search Unity

Question Getting Facebook login to work with a Windows IL2CPP build?

Discussion in 'Windows' started by Meltdown, Jun 22, 2021.

  1. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    I for the life of me cannot get the Facebook SDK to work with IL2CPP. I just get a Gameroom error, and nothing in the SDK works so I can't make any calls to it.

    Is there any alternative to getting Facebook login working in an IL2CPP build that anyone knows of?
    Any asset store asset or alternative?

    Thanks
     
  2. yazoubello

    yazoubello

    Joined:
    Jan 5, 2021
    Posts:
    9
    You should not be calling both of those one after the other on iOS. What happens is that the first LogIn call opens up the facebook login window and the second one closes it and opens up a new one (generating that error you get in the debug log), cancelling the first login resulting in a 'fail'.






    192.168.100.1 192.168.1.1
     
    Last edited: Aug 2, 2021
  3. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    Wut, are you even replying to the right thread?