facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

Facebook SDK in Unity Package Manager

Open MartinGonzalez opened this issue 4 years ago • 41 comments

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

MartinGonzalez avatar Apr 16 '20 18:04 MartinGonzalez

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

vicobill avatar Apr 17 '20 00:04 vicobill

Please, give visibility to this issue

MartinGonzalez avatar Jul 06 '20 16:07 MartinGonzalez

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!

wagenheimer avatar Jul 06 '20 16:07 wagenheimer

@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 avatar Jul 06 '20 16:07 MartinGonzalez

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

MartinGonzalez avatar Jul 06 '20 16:07 MartinGonzalez

@MartinGonzalez Yes, here is it. https://github.com/facebook/facebook-sdk-for-unity/issues/450

wagenheimer avatar Jul 06 '20 16:07 wagenheimer

Package manager, yes! It would be an amazing addition

ycarofm avatar Jul 10 '20 14:07 ycarofm

It would be great to have facebook plugin in UPM.

tozpeak avatar Jul 19 '20 20:07 tozpeak

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

albertogr91 avatar Jul 31 '20 08:07 albertogr91

I would love to have UPM support.

ErnSur avatar Aug 01 '20 10:08 ErnSur

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

Vitordex avatar Aug 20 '20 13:08 Vitordex

+1

pistoleta avatar Sep 19 '20 18:09 pistoleta

+1

KolesnikovProduction avatar Sep 22 '20 09:09 KolesnikovProduction

+1

DavidZobrist avatar Oct 20 '20 08:10 DavidZobrist

+1

realluhui avatar Oct 20 '20 09:10 realluhui

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

MartinGonzalez avatar Oct 20 '20 13:10 MartinGonzalez

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

HanzaRu avatar Oct 30 '20 11:10 HanzaRu

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

newatlanta19006 avatar Dec 07 '20 21:12 newatlanta19006

+1

sreenaths avatar Dec 22 '20 14:12 sreenaths

+1

lazycoder71 avatar Jan 08 '21 07:01 lazycoder71

+1

When this issue will be fixed

Thaina avatar Apr 02 '21 06:04 Thaina

+1

Razenpok avatar Apr 20 '21 07:04 Razenpok

+1

danielebanovaz avatar Apr 21 '21 19:04 danielebanovaz

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: https://github.com/firebase/quickstart-unity/issues/1028 and https://github.com/firebase/quickstart-unity/issues/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/

HitCache avatar Apr 21 '21 20:04 HitCache

@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. 🤦

pshtif avatar Apr 27 '21 15:04 pshtif

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

Eugen1344 avatar May 26 '21 14:05 Eugen1344

Or release a git repo please like proposed as a workaround for Google here: https://github.com/firebase/quickstart-unity/issues/1052

HitCache avatar May 27 '21 23:05 HitCache

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)

Eugen1344 avatar Jun 02 '21 21:06 Eugen1344

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

TimGameDev avatar Nov 01 '21 18:11 TimGameDev

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

wagenheimer avatar Apr 07 '22 12:04 wagenheimer