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 Facebook SDK seems to knock out all Prime31 plugins in iOS project?

Discussion in 'Editor & General Support' started by larrykirschner, Aug 30, 2013.

  1. larrykirschner

    larrykirschner

    Joined:
    Oct 27, 2010
    Posts:
    22
    I'm trying to integrate the the new Unity Facebook SDK for an iOS project. It works fine if I just build the example, but when I add it to my real project--which includes a bunch of Prime31 plugins--all the Prime31 plugins stop getting integrated in the XCode project when I build.

    Is this a known issue? I can't find anything about it in forums or FAQs.

    I've tried this with Unity 4.1.5 and just now with Unity 4.2, and I get the same result either way.

    The specific Prime31 plugins that are in my project (and had been working) are StoreKit, Flurry, and Etcetera.

    The version of Unity Facebook SDK I'm working with seems to be the latest (3.1)

    One thing I notice as a conflict even in the Editor/project is that Prime31 includes MiniJson.cs as a cs file in the root of ./Assets/Plugins. This creates a conflict with some version of MiniJson included by Unity Facebook SDK, so I had to delete that file to get the project to compile.

    Any help on this greatly appreciated!

    Thanks,
    Larry
     
    Last edited: Aug 30, 2013
  2. michael-v

    michael-v

    Joined:
    Jun 21, 2013
    Posts:
    19
    Facebook plugin uses same overrides in app delegate as prime31, and in addition it updating xcode project all by itself, possibly corrupting some of prime31 updates. In your case you probably be better using prime31's SocialNetworking, and if you want canvas functionality from facebook's plugin, just extract it by hand and add to project. I think i will just invoke js sdk from unity.
     
  3. larrykirschner

    larrykirschner

    Joined:
    Oct 27, 2010
    Posts:
    22
    Thanks genius-fx. That is useful info
     
  4. Gasp

    Gasp

    Joined:
    Apr 9, 2013
    Posts:
    8
    I'm having the same issue, I'm using prime31's Gamecenter multiplayer plugins and want to use the new facebook SDK. Does anyone know what's the manual process of reintegrating prime's plugins into the xcode project?
     
  5. ThiagoDeserto

    ThiagoDeserto

    Joined:
    Dec 13, 2012
    Posts:
    6
    Same problem here.
    Any solution for that?
     
  6. fluf

    fluf

    Joined:
    Apr 19, 2013
    Posts:
    1
  7. Gasp

    Gasp

    Joined:
    Apr 9, 2013
    Posts:
    8
    I cant find the facebook workaround there, only the bug report?

    Anyway Prime31 posted a workaround on their website http://prime31.com/docs and it's working now.