• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Valenseth · Feb 24, 2014 at 12:07 AM · androiderrorfacebooksdk

Weird bug that only seems to happen on Android

Alright, so ive been tearing my hair out setting up the Android facebook sdk, and i've got a pretty ok grasp on its basics. I had been testing it, everything was going great, until i built it and put it on my testing device.

In the editor I was able to log in to facebook, post a status update, and everything worked as planned.

Now over on the android side of things i load it up, click the button and nothing happens, so i go back and i do a few things to see if i messed up on the collision or something for the button, i attached a sound effect

(My tablet hates adb so its near impossible to debug through adb) and pull it in to android, and when i click the button it makes the sound.

I've been trying to fix this for a very long while now, and I'm stumped. I can't read if it is getting an error, so i have no clue what is causing it, seeing as it works fine in the editor.

I'm using the latest version of unity, and the most up to date Facebook sdk. What I'm looking for is a nudge in the right direction for where to look, ive combed through everything i can think of, I have my worries that my androidmanifest might be to blame, but i don't possess the know how when it comes to that as i am fairly new to programming for android.

Any help would be greatly appreciated.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Fattie · May 05, 2014 at 02:24 PM

Are you saying it won't login to FB?

if so search on this answers site for exactly "debug android key hash"

you'll see there is a huge discussion about it; hope it helps you

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Assets/scripts/fbLogin.cs(60,52): error CS1501: No overload for method `API' takes `3' arguments 1 Answer

Game Analytics & Facebook sdk android build error 1 Answer

Facebook SDK import error 1 Answer

Android app crashes on launch after removing Facebook SDK 1 Answer

Can't export apk! (unity android-facebook) 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges