Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by AndreiMarian · Nov 23, 2016 at 08:02 PM · projectdefault

Is it possible to modify the default Unity project to include custom files?

I want to use some custom assets by default in every project. Is there a way to create a new project having them by default?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mikael-H · Nov 23, 2016 at 09:01 PM 0
Share

Interesting question! Personally I keep a project on bitbucket that I use a subtree to pull and push (using git). It solves the same issue but takes a bit of time to set up and get used to.

3 Replies

· Add your reply
  • Sort: 
avatar image
6
Best Answer

Answer by Mikael-H · Nov 24, 2016 at 10:04 AM

I know this is not exactly the solution you want to use but it does have its merits.

  • Create a project containing the assets you want to use in every project. Make sure all assets are in the same folder

  • Create a project for this on github/bitbucket etc, use git for version control. If you are not an expert git user I recommend using source tree

  • Set up the folder where your assets are as a subtree. Push the subtree to your project on bitbucket. instructions

  • In every project from now on setup a subtree linking to the bitbucket project.

This has some drawbacks:

  • Not a "one click" solution (which I assume is what you wanted)

  • You need to be a half decent git user

But it has one awesome advantage:

  • When you discover a way to improve the assets that you use (and you will, trust me) you'll be able to push your improvement from within your project. This improvement can then be pulled into any other projectent.

I know this might not be the solution you want but I think it might be the solution you need :)

EDIT: I think I may have figured out how to do this the way you want.

  • Make a package containing the assets you want.

  • Copy this package to the folder "%AppData%\Roaming\Unity\Asset Store-5.x\" (see this link to see where this folder will be on your specific OS)

  • When starting a new project, click the "Add Asset Package" button next to the coice of 2D/3D

  • You package should now be in the list

  • Click create project

  • Profit?

Still, you will need version control sooner or later anyway so I recommend the first method. This one is easier to get started though.

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AndreiMarian · Nov 24, 2016 at 10:28 AM 1
Share

It's at least interesting and definitely original. I'm not using an online versioning system and you assumed correctly - I'm expecting a non-workaround solution similar to editing the Script-NewBehaviourScript.cs. +1'd your answer.

avatar image Mikael-H AndreiMarian · Nov 26, 2016 at 02:03 PM 0
Share

@Andrei$$anonymous$$arian, did you see my last edit? Does this work for you?

avatar image AndreiMarian · Nov 27, 2016 at 12:17 AM 1
Share

@$$anonymous$$ikael-H: the fact that it's right at a click distance when creating a new project makes the whole difference. I've been trying for half an hour with no success. I tried both copying in explorer and exporting explicitly every time into the following locations: - %AppData%\Roa$$anonymous$$g\Unity\Asset Store-5.4 - %AppData%\Roa$$anonymous$$g\Unity\Asset Store - %AppData%\Roa$$anonymous$$g\Unity\Packages - even tried in the same location as Visual Studio tools (unitypackage) I've tried each time restarting Unity but every time it failed to show up in the list. Until I tried putting "x" as you mentioned and it suddenly appeared in the list. I thought x wasn't to be taken literally. Thank you very much for the detailed answer and for the working solution given, more or less, my conditions. Accepted and +rep'd.

avatar image Mikael-H AndreiMarian · Nov 27, 2016 at 07:36 PM 0
Share

Hmm, I tried it myself right before posting and it worked fine. Are you sure you actually found the folder where your asset store packages are stored? (Download a free one if you haven't purchased any)

As mentioned in the link the packages may be stored in different locations based on you OS and your version of unity.

avatar image Bunny83 Mikael-H · Nov 27, 2016 at 09:18 PM 1
Share

I have highlighed the path as code and put it in quotation marks so it should be more clear.
edit
I also added a trailing backslash so it should be obvious now ^^.

It might be possible that Unity didn't create that folder on installation but would create it on the fly when you download things in the assetstore. If he hasn't done that yet the folder might simply not exist.

Show more comments
avatar image
3

Answer by Magius96 · Nov 23, 2016 at 09:23 PM

I don't know if you can modify the default unity project, but once you create the project the way you want it, you can export it as an Asset Package, and tag it as a full project. Then whenever you start a new project, simply import that package and you're good to go.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AndreiMarian · Nov 23, 2016 at 10:17 PM 0
Share

Nice suggestion. Still there has to be a more straight forward solution.

avatar image
0

Answer by Nova-1504 · Nov 26, 2016 at 04:41 PM

@AndreiMarian No, It's not possible to make it default to it UNLESS you modify the Unity new project code, which i'm pretty sure is against the license agreement. However, after creating the project you could just move the folder into the project's Assets folder. Takes less than a minute, although this depends on the assets you're importing.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nova-1504 · Nov 26, 2016 at 07:08 PM 0
Share

At least, it's not possible with the criteria you've mentioned. There is no "Straightforward" solution.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Changing the default project location 3 Answers

Can you change the default location of a new Unity project? 7 Answers

Unity Defaut Assets ... will they reset for every project ? 1 Answer

Is there a way to change the default InputManager settings, for new projects? 1 Answer

Can I set up xCode to build with the same options for each new Unity project? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges