UnityExporter icon indicating copy to clipboard operation
UnityExporter copied to clipboard

Replace .unitypackage with a proper UPM package

Open andybak opened this issue 1 year ago • 3 comments

I was a bit surprised to find .unitypackages uploaded directly to the repo. Usually the source goes in the repo and the .unitypackages are uploaded to Releases.

In any case - UPM is the modern way to handle things. Happy to work on a PR if it's likely to be accepted.

andybak avatar Mar 11 '24 11:03 andybak

I've just looked at this a bit more closely - the only Unity code is in a Legacy folder and it's using Siccity's GLTF code. Is this the plan going forward? Unity has "blessed" GLTFast for import and UnityGLTF has recently had a huge update.

Would they be a better starting points?

andybak avatar Mar 11 '24 13:03 andybak

Yo @andybak ... If you can build this from the .unity packages... That would be awesome :)

MackeyK24 avatar Jun 12 '24 22:06 MackeyK24

Babylon Toolkit is not published as Unity Package Manager install.

In Unity's Package Manager: Click the "+" button ➔ Add package from git URL....

Community Edition

https://github.com/codewrxai/CommunityEdition.git

Professional Edition

https://github.com/codewrxai/ProfessionalEdition.git

MackeyK24 avatar Sep 22 '24 12:09 MackeyK24

Just to clarify for others - as I originally misread their comment.

They have forked and repackaged Babylon as a UPM package - which is fantastic.

@MackeyK24 - any idea if this will get merged back in to the official repo? It's a big improvement.

andybak avatar Sep 24 '24 10:09 andybak

The previous version was hard coded to work from the Assets/[Babylon] folder. I dont see they could have gotten it to fully work as a UPM.

But now I natively support UPM

Git Installation In Unity's Package Manager

Click "+" Button ➔ Add package from git url....

Community Edition

https://github.com/babylontoolkit/communityedition.git Professional Edition

https://github.com/babylontoolkit/professionaledition.git Local Installation In Unity's Package Manager

Click "+" Button ➔ Add package from tarball....

Community Edition

https://github.com/babylontoolkit/communityedition/releases Professional Edition

https://github.com/babylontoolkit/professionaledition/releases

MackeyK24 avatar Sep 24 '24 13:09 MackeyK24

Done

MackeyK24 avatar Sep 29 '24 23:09 MackeyK24