OpenFeint Unity Integration

EDIT: This was written over a year ago and won’t help you with the current version of OpenFeint, sorry.
Integrating OpenFeint in a Unity iPhone project is pretty straightforward, just sign up, get the sdk and follow these steps. A few additional notes though…
I didn’t really manage to access the OpenFeint singleton from Javascript, it kept giving me ‘singleton’ is not a member of ‘callable() as void’ . So I wrote a simple C# script just for calling OpenFeint and call that from Javascript:
using UnityEngine;
using System.Collections;
//Notice how no "using OpenFeint;" or something like that is needed!

public class OpenFeintStuff : MonoBehaviour {

public void LaunchOpenFeint () {


SDK Integration (XCode):

ad 5: If it says Multiple Values next to “Other Linker Flags”, select only the active config, then edit the line. This is what it should read: -ObjC,-Wl,-S,-x

ad 6: The place to check for this is under Targets > Unity iPhone > Get Info > General – then look at the bottom and add the missing frameworks with the [+] button on the bottom left.
ad 11: Your product key and secret key need to look like this: @”x238476d-etc” (this is what strings look like in Objective-C)
Bookmark the permalink. Follow any comments here with the RSS feed for this post. Trackbacks are closed, but you can post a comment.


    Morten Nielsen on November 22, 2009 at 13:14 | Permalink


    If you want a social gaming platfor for your Unity iPhone game that is really easy to integrate you should check out AGON Online.

    More info here:

    Videos here:

    AGON Games here:

    AGON Online provides a full API for Unity that works for both Unity Basic and Advanced (API reference here:

    Best regards,
    AGON Online Developer

    hk網頁設計 on December 30, 2009 at 10:35 | Permalink

    thanks for your"OpenFeint Unity Integration"

    piyushnp on December 25, 2010 at 07:32 | Permalink

    Links are not working. can you please refine it ?

    col000r on December 28, 2010 at 10:34 | Permalink

    This post was about an older version of OpenFeint. A lot has changed and I'm no longer using OpenFeint, so I don't know how it's done now, sorry.

    Cy on March 18, 2011 at 18:08 | Permalink

    What are you using?
    Does it work with Droid too?

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>