Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Create own Template / Skeleton projects?

Discussion in 'Package Manager' started by AndreasO, May 27, 2018.

  1. AndreasO

    AndreasO

    Joined:
    Sep 25, 2012
    Posts:
    90
    Hi,

    I was wondering if it would be possible to define my own template/skeleton projects using the new Package Manager?

    What I'd like to do is to compose a certain number of packages using the SEMVER scheme to build a starting point for new projects where I checked myself and do know that each package does work correctly with each other. This would also ensure that new projects will still start on a stable ground even if some packages have advanced in a positive way but would also break something because of conflicts with other packages.

    Cheers
     
  2. recursive

    recursive

    Joined:
    Jul 12, 2012
    Posts:
    669
    This could also be useful for education / tutorials.
     
  3. okcompute_unity

    okcompute_unity

    Joined:
    Jan 16, 2017
    Posts:
    756
    Hi @AndreasO,

    This is the direction we wan't to go with the project template feature. We want to enable all users to create their own project templates (pre-defined dependencies, initial scene, sample assets, etc.). We are working on nailing the process on our end before sharing with everyone :).

    Regards,

    Pascal
     
    MrPaparoz and recursive like this.
  4. AndreasO

    AndreasO

    Joined:
    Sep 25, 2012
    Posts:
    90
    Perfect! I'm looking forward to it. :)
     
  5. hage02

    hage02

    Joined:
    Jul 16, 2019
    Posts:
    2
    What is the status of project templates now ?
     
  6. okcompute_unity

    okcompute_unity

    Joined:
    Jan 16, 2017
    Posts:
    756
    In progress. No ETA. Sorry.
     
  7. AnamnesiaLudo

    AnamnesiaLudo

    Joined:
    Jan 18, 2017
    Posts:
    1
    I ask the same :
    What is the status of project templates now ?
     
  8. okcompute_unity

    okcompute_unity

    Joined:
    Jan 16, 2017
    Posts:
    756
    Hi @AnamnesiaLudo,

    The feature is still not ready to be added to our public API. If you are ok to use non-documented/non-public API you can use the
    cloneProjectFromTemplate
    command-line argument. My colleague explained its usage in this post.

    Hope it helps,

    Pascal
     
  9. AccentDave

    AccentDave

    Joined:
    Nov 16, 2015
    Posts:
    43
    Dudes, come on. Perhaps something to add via the Hub. Isn't it just settling on a folder to dump our custom templates into? An 'install from package' would also be nice.
     
  10. MrPaparoz

    MrPaparoz

    Joined:
    Apr 14, 2018
    Posts:
    157
    everyone liked that. I hope it'll be ready at least as experimental. With a lot of Unity upgrades it'll be easier to move project between versions.
     
  11. Riplyn

    Riplyn

    Joined:
    Oct 3, 2018
    Posts:
    2
    Any updates on this?
     
    jechavez likes this.
  12. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    No progress at the moment - for now, we'd advise using the `cloneProjectFromTemplate` method mentioned earlier.