GithubHelp home page GithubHelp logo

Comments (5)

blgrossMS avatar blgrossMS commented on June 30, 2024 1

Yeah I think after the architecture changes land would be a good time to start distributing a unitypackage. We should also distribute it on the asset store for discoverability.

from unitygltf.

robertlong avatar robertlong commented on June 30, 2024

The current plan is to bundle the GLTF folder into a .unitypackage and publish versioned releases on Github #7

This is similar to how VRTK, UniRX, Github for Unity, and many others manage their releases.

We could do this now, but the project is undergoing a lot of changes to its architecture (see #40). I'd like to at least land that before we start versioning. @MSblgross would you agree?

from unitygltf.

mtschoen avatar mtschoen commented on June 30, 2024

A unitypackage is a good idea, of course, but I still think a submodule would be helpful, as well. The point is that you get the code along with a repository that you can use to sync latest changes, or contribute fixes if you have made them locally. This is a much better workflow than having to maintain a separate repository and copy files back and forth.

from unitygltf.

robertlong avatar robertlong commented on June 30, 2024

I'm not certain we want to add the complexity of submodules and multiple repositories to support this use case. Although, I agree that the unitypackage method is not the best way to stay up to date with the latest changes or contribute back to the project. I also will admit, I haven't seen any Unity library distributed in this way and would be curious to see how consumers of that library like it.

If you're not working on a team, symlinking the GLTF directory from the cloned repository into your assets directory is a good option. Any changes you make to the code in your project will be made to the UnityGLTF project and you can commit and push from there. However, these symlinks are harder to maintain on a team. Projeny solves similar problems and is better for teams, but I don't know if it will support git dependencies well.

The perfect solution for all of this would be a real package manager for Unity. Which is coming although who knows when it will land. https://forum.unity3d.com/threads/what-is-packman.482001/

I'm curious to hear others thoughts on submodules and how they've solved this problem in the past.

from unitygltf.

mtschoen-unity avatar mtschoen-unity commented on June 30, 2024

Yeah, I've seen this done with symlinks in the past. Another argument for doing this is that you can version the project and the module separately. If the project/support files change because of a Unity upgrade, or if you decide to not include say unit tests, the version # doesn't have to bump on one for changes in the other.

from unitygltf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.