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

Consider making the Unity package UPM compatible #41

Closed
SimonDarksideJ opened this issue Feb 26, 2023 · 4 comments
Closed

Consider making the Unity package UPM compatible #41

SimonDarksideJ opened this issue Feb 26, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@SimonDarksideJ
Copy link

The modern way of deploying packages in Unity is via UPM (Unity Package Manager).

Consider updating the Unity package repository to match the UPM project layout, rather than making a .UnityPackage export, which is safer and provides versioning (plus allows publishing to OpenUPM)

https://docs.unity3d.com/Manual/cus-layout.html

A good example is the RealityCollective packages which have automation to manage building/testing and tagging for OpenUPM
https://github.com/realitycollective/com.realitycollective.service-framework

@philip-lamb
Copy link
Member

Sounds good Simon. Looking into it.

@ryohey
Copy link

ryohey commented Aug 4, 2023

Just for your reference, if you're not already aware, I think you are trying a big directory structure change in the upm branch, but you can specify the path in manifest.json as follows, so you may just need to add the Plugins binary to your current master branch. I hope this helps.

"org.artoolkitx.artoolkitx-unity": "https://github.com/artoolkitx/arunityx.git?path=Packages/artoolkitX-Unity"

@philip-lamb
Copy link
Member

@ryohey Thanks, and yes was aware of it but decided to follow the subtree-split UPM strategy, since this is slightly cleaner for the users who are not interested in developing the toolkit itself.

Thanks for taking an interest in the project, good to see our community growing!

@philip-lamb
Copy link
Member

Closed in #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants