Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook SDK in Unity Package Manager #430

Open
MartinGonzalez opened this issue Apr 16, 2020 · 41 comments
Open

Facebook SDK in Unity Package Manager #430

MartinGonzalez opened this issue Apr 16, 2020 · 41 comments

Comments

@MartinGonzalez
Copy link

It would be nice to deliver facebook sdk through UPM. We all know the benefits of that.
Is there any plan to do that?

@vicobill
Copy link

I agree! Now the .unitypackage is not so good for Unity2019.

@MartinGonzalez
Copy link
Author

Please, give visibility to this issue

@wagenheimer
Copy link

It should first be made compatible with Unity 2019.4 that on Current Version still is not (Cannot finish an iOS build with it). And then added to Package Manager would be a must have!

@MartinGonzalez
Copy link
Author

@wagenheimer
Agree!, we are also facing that too, but if it was a package already, the only thing you should do when they fix is to only update the version instead of reimporting again the unitypackage that may lead to bugs/configuration errors

@MartinGonzalez
Copy link
Author

@wagenheimer Is there an issue with that info you shared?

@wagenheimer
Copy link

@MartinGonzalez Yes, here is it.
#450

@ycarofm
Copy link

ycarofm commented Jul 10, 2020

Package manager, yes! It would be an amazing addition

@tozpeak
Copy link

tozpeak commented Jul 19, 2020

It would be great to have facebook plugin in UPM.

@albertogr91
Copy link

I think it is essential to start deprecating .unitypackages in favor of UPM packages

@ErnSur
Copy link

ErnSur commented Aug 1, 2020

I would love to have UPM support.

@Vitordex
Copy link

it would be great to have this in UPM, to reduce repo size and segregate dependencies from actual code.

@pistoleta
Copy link

+1

3 similar comments
@KolesnikovProduction
Copy link

+1

@DavidZobrist
Copy link

+1

@realluhui
Copy link

+1

@MartinGonzalez
Copy link
Author

It would be great to have some visibility from the team, if this is in the roadmap or something...

@HanzaRu
Copy link

HanzaRu commented Oct 30, 2020

Surely would be good, there are alternatives but still would be better to have a official repo https://github.com/oae/unity-package-facebook-sdk

@newatlanta19006
Copy link

Adding support for this would be greatly appreciated. All the other major plugins have migrated to Unity Package Manager. Please consider prioritizing this!

@sreenaths
Copy link

+1

2 similar comments
@lazycoder71
Copy link

+1

@VasylRomanets-MoonActive

+1

@Thaina
Copy link

Thaina commented Apr 2, 2021

When this issue will be fixed

@Razenpok
Copy link

+1

1 similar comment
@danielebanovaz
Copy link

+1

@HitCache
Copy link

HitCache commented Apr 21, 2021

Not to hijack the issue thread but for @VasylRomanets-MoonActive and others who may not know yet, Google is going backwards now for some reason. See thread: firebase/quickstart-unity#1028 and firebase/quickstart-unity#1030

This is obviously not the way forward and I agree Facebook and others should work on switching to UPM asap instead of the .unitypackage insanity.

Edit: Turns out Unity is the one at fault here, not sure if it will impact FB bringing the sdk to UPM but Unity has made things annoying to say the least, see thread: https://forum.unity.com/threads/updates-to-our-terms-of-service-and-new-package-guidelines.999940/

@pshtif
Copy link

pshtif commented Apr 27, 2021

@HitCache yep indeed I've got calls with both Google and Unity now and there is nothing Google can do to avoid infringing upon the new Unity guidelines. However I hope Unity will revert back, I've let them know this is not the way to go and I am sure not the only one that voiced his opinion on this issue. And indeed these new guidelines would basically block Facebook SDK as well.

PS: For now we are basically taking Google tarballs and publishing them to our own UPM registry which we then link in Unity package manager as this doesn't break the new guidelines. 🤦

@Eugen1344
Copy link

At least publish it as tarball. Would be much simpler to intergrate it in our projects

@HitCache
Copy link

Or release a git repo please like proposed as a workaround for Google here: firebase/quickstart-unity#1052

@Eugen1344
Copy link

Eugen1344 commented Jun 2, 2021

Okay, so for anyone interested: i have created the tarball myself. And it is working perfectly. Just extract facebook SDK unitypackage in unity, Then collect all created folders and drop them (with all meta files) somewhere in on your drive outside of unity project (let's say you drop them in FacebookSDK folder). Then put package.json file in your FacebookSDK folder with text:

{ "name": "com.facebook", "version": "9.2.0", "displayName": "Facebook SDK", "keywords": [ "Facebook", "SDK" ], "author": { "name": "Facebook", "url": "https://developers.facebook.com/docs/unity/downloads/" }, "description": "Facebook SDK (custom created package by Eugen)", "unity": "2017.1", "dependencies": { "com.google.external-dependency-manager": "1.2.165" } }

This is the package definition file.
Then, to pack it in tarball, open any unity project, any script, and call
UnityEditor.PackageManager.Client.Pack("C:/FacebookSDK", "C:/FacebookSDK");
This will create your tarball package that you can later import in your project by inserting the following line in manifest.json:

"com.facebook": "file:../Assets/Packages/com.facebook.tgz",

(Notice this path is relative)

@TimGameDev
Copy link

Soooo, is there a chance to have UPM version for latest version?

@wagenheimer
Copy link

Is this asset dead? Tons of Bugs, the last release is almost 1 year old! =(

@CodeMasterYi
Copy link

Soooo, is there a chance to have UPM version for latest version?
Unity Scoped Registry via npmjs or openupm or Meta ones?

@CodeMasterYi
Copy link

Two years gone!

@josealvarez97
Copy link

Adding Facebook SDK via .unitypackage and Firebase packages via tarballs is a real headache, a lot of conflicts between dependencies.

@imurashka
Copy link

Hello! Any news about this request?

@CodeMasterYi
Copy link

Hello! Any news about this request?

@imurashka Almost 3 years.

@MartinGonzalez
Copy link
Author

Clearly they don't think in Unity developers, perhaps we will have to find another way of doing this

@CodeMasterYi
Copy link

Clearly they don't think in Unity developers, perhaps we will have to find another way of doing this

@MartinGonzalez
Maybe, Elon should take charge of Meta!

@MartinGonzalez
Copy link
Author

Clearly they don't think in Unity developers, perhaps we will have to find another way of doing this

@MartinGonzalez Maybe, Elon should take charge of Meta!

And replace the picture with SHIBA xD

@ErnSur
Copy link

ErnSur commented Feb 28, 2024

Meta is utilizing UPM for their XR packages. Relevant Blog Post
Can we expect a similar move for FB SDK in the near future?

@NvHulst
Copy link

NvHulst commented May 2, 2024

From a company perspective, can we get Facebook trough UPM? Would save a lot of time when updating several games integrating the SDK.
Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests