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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

unity with Fb(7.9.4) sdk crashes at login on Android devices

Discussion in 'Android' started by Eidern, Jun 12, 2017.

  1. Eidern

    Eidern

    Joined:
    Mar 29, 2014
    Posts:
    94
    Hello,
    I'm testing my app on android devices (galaxy S7edge, and also on an emulator with android studio), my app's starting allright, but when I click on the facebook login button, it crashes and ask to restart.

    On the monitor log, the last activity (with the unity tag) is this (i've wrote xxxxxx instead of the hashkey for obvious reason :) )

    06-12 23:05:21.275: D/com.facebook.unity.FB(26989): KeyHash: xxxxxxxxxxxx=

    I've double checked, the hash key is correct (on unity editor and fb app setup page).
    Does anyone run into this kind of trouble too?
     
  2. Gorlog

    Gorlog

    Joined:
    Jan 20, 2011
    Posts:
    201
    yea i have a same problem before that v7.10.0 facebook sdk everything normal but now not working.
     
  3. Eidern

    Eidern

    Joined:
    Mar 29, 2014
    Posts:
    94
    Be aware that installing the 7.10.0 sdk put a dummy key in your FB settings app .
    You'll have to edit the Fb setting under unity to rewrote correctly your app name, and rewrote you app ID