Scoreloop/Openfeint

Did Scoreloop and Openfeint drop their support for Unity? I cannot seem to find the “.packages” when I downloaded their respective latest SDKs. Thank you.

The .unityPackage file for OpenFeint can be found inside the folder named UnitySupport when you download the OpenFeint SDK.

Does OpenFeint 2.7.4 work in Unity3f5? Has anybody got it to work?

Regards

Does this apply for Android as well? Since there is no .unitypackage inside either SDKs.

OpenFeint 2.7.5 for iOS has just been released and includes an updated package to support Unity 3. Get it now from the downloads page at api.openfeint.com. Feel free to send related requests to devsupport@openfeint.com

Finally… :smile:

Thank you very much

Regards

Emmm, do we need to have iOS 4.2 GM SDK to use this version? I mean, is that really necessary?

Thanks

OpenFeint 2.7.5 will work will several recent versions of the iOS SDK. We try to support older iOS SDKs as long as Apple still allows them to be used for product submissions.

OpenFeint for Android uses standard Android layout resources for UI elements. Projects built for Android with Unity 3 are not yet compatible with these layout resources. We hope that this can be solved on the Unity side but are considering UI alternatives if it cannot be resolved soon.

OK, thanks Muheli.

I created an empty project, did the usual stuff and began compiling (iOS SDK 4.1)
I expected no problems, just a fresh complete kick-ass compilation process :wink:

[SOLVED] My bad!!! I just had to add GameKit.framework to the project :slight_smile:
Then, I got 5 errors out of the blue:

I’ve never tried GameCenter before, but I’m willing to start supporting the thing :slight_smile:
FYI, I’ve had successful compiles using prior versions of OpenFeint (2.6.1 for example)

Could you please explain the solution to this problem? Or give me a clue?

Regards

OpenFeint 2.7.5 works on iPhone, but crashes on iPad!

I don’t think deleting the GameKit.framework will do any good? :frowning:
Any ideas?

Thanks in Advanced

[Edit]
I tried compiling the app w/o GameKit and it crashes on startup again :frowning:
I tried compiling iPad only and nothing interesting…!

** bump **

Muheli, can you give any info on the Unity versions for the following:

OF for Android
OF PlayTime
OF X
OF 3.0

Any new is great. Thanks.

TheLorax

The current publicly available version of OF for Android is 1.5. We need the ability to add standard Android UI XML layouts to a Unity Android project in order to support OF properly on Android with Unity. OF does not control when this will be available.

Look for an announcement in the next few weeks about OF-X emerging from beta tests.

The other items will not be publicly available until 2011.

I’ll post this here, because there’s talk about OpenFeint 2.7.5:
Using XCode 3.2.4, ios 4.1, unity 3.1.0f3

I’m having troubles when using new 2.7.5: game will crash on “Program received signal: “EXC_BAD_ACCESS”.” after I have agreed to use OF and dashboard confirmation has been given and when dashboard disappears.

I have followed instructions from Readme and OpenFeint-Unity-Readme.

  • Removed OpenFeint from unityproject, imported new 2.7.5 package, saved as new project.

  • I have added Openfeint folder to project

  • Checked linker flags to have -ObjC for all configurations

  • Ctors/Dtors is checked

  • Added missing frameworks (these was not in the default build), with these all required are in:

    • libsqlite3.0.dylib
    • Addressbook
    • Addressbook UI
    • GameKit
  • Confirmed that #import “OpenFeintPrefix.pch” is in prefix file.

  • Confirmed that there is no classes in project with .m, renamed to .mm when needed.

  • Fixed typo in OpenFeint.mm line 84 ( http://openfeint.com/developers/forum/showthread.php?3353-2-7-5-Typo-at-OpenFeint-mm-84 )

  • Changed the Bundle name in info.plist (let’s say app name is myapp, I placed the bundle name to be also myapp), also tried to leave it as default: ${PRODUCT_NAME}

-Weak linked following frameworks:
– Mapkit
– UIKit
– GameKit

I’m suspecting it has something to do with gamecenter, went through google and found something from cocos2D forum:

  • If I add " [NSNumber numberWithBool:YES], OpenFeintSettingGameCenterEnabled, " in settings dictionary
    I will get pass the OF integration, and it will inform that OpenFeint is setup properly, and “this application uses gamecenter etc…”
    when clicking next, I’ll get the sandbox information and same EXC_BAD_ACCESS.
    if I use NO in that setting, it will crash same way as earlier.

I’m prob. missing something simple, maybe someone can point me to correct direction.
Also sended this question to OF support, I’ll post back if I get solution from there.

Thanks for the info. We appreciate what you folks are doing! Keep it up!

TheLorax

EXC_BAD_ACCESS is usually reported when there’s a null reference exception

I had the same problem and i fixed by setting the GameKit framework to weak.

I’m attempting to add gamecenter to openfeint and untity project but when i follow the manual i need to put some code in to the main application class.

#import "OpenFeintMigration.h"
	
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
		...
	[OpenFeintMigration initializeMigrationForGameName:@"Your Game Name"];
	return YES;
}

- (void)applicationWillTerminate:(UIApplication *)application {
	...
	[OpenFeintMigration shutdownMigration];
}

But i have no idea what the main application class is in the Xcode project that unity builds.
Can somebody tell me where I need to put this so that gamecenter gets initialized.

  • I have GameKit weak linked, did not help.

You’ll find those in AppController+OpenFeint.mm