Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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
1
Question by Thajocoth · Aug 06, 2015 at 08:36 AM · savelayerstags

Project branching into two separate projects that share no dependencies

I'm having trouble figuring out how to do this effectively. There's no "Save Project As". Simply copying files is ineffective. Exporting one project's assets, starting a new project, and importing those assets does create a project with the same assets as the first, but fails to take the tags and layers with it. Manually entering 62 tags and 3 layers, and setting everything in the hierarchy that uses those tags & layers back up how they go, is a much longer task than simple project branching should be.

I had to re-enter and fix all the tags and layers recently when I upgraded my Unity client to 5.0.0f4 Personal, and it was a pain. Now, they only load correctly when I start Unity by opening the project file. If I start Unity directly, it wants to "fix" my project and destroy the tags & layers again. If I tell it not to do so and I open the project after Unity loads, it fails to load the tags and layers, but exiting Unity and restarting it by opening the project file loads the tags and layers just fine again. So, it's possible that there's something weird about the tags and layers that's causing them not to load properly. I don't know.

What else can I look at or try?

Comment
Add comment · Show 4
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 Owen-Reynolds · Aug 06, 2015 at 05:07 PM 0
Share

Try Searching "unity copy project" and look for info about tags. People have done this, and had (and solved) the same tag problem.

By "Exporting one project's assets" do you mean creating a package? That's what one poster does, with more explanation.

avatar image Thajocoth · Aug 06, 2015 at 07:44 PM 0
Share

$$anonymous$$y first search here was "Save project as", which is how I found information about exporting packages. I've done numerous searches, including "copy project". I wouldn't've posted this question if I hadn't felt that I had exhausted the search feature, but I will try your suggested search again after submitting this reply. This is far from the first question I've needed answered for my project (which is my first Unity project ever), but is the first one that I found myself unable to find a thread or wiki page with an answer for it.

The system ate my first response to you. This is a summary of what I wrote the first time. I apologize if it comes off as slightly annoyed. I'm grateful for any help, even simply the suggestion of trying the site's search feature again. I'm just a little annoyed at having to retype my reply after my first version was eaten.

avatar image zach-r-d · Aug 06, 2015 at 07:49 PM 0
Share

What about duplicating the entire project folder, then deleting the unused parts as necessary from the two copies?

avatar image Thajocoth · Aug 06, 2015 at 07:54 PM 0
Share

Simply copying a folder and rena$$anonymous$$g a few files doesn't result in something that can be fully opened. That was the first thing I tried before co$$anonymous$$g to look for an answer on the internet. I tried that even before looking for a "Save Project As" feature, which is something they really should add for situations like this one. Wanting a simple copy of an existing project should really not be so complicated.

1 Reply

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

Answer by Thajocoth · Aug 07, 2015 at 07:07 AM

Solved!

For anyone else having the same issue, to fully copy a project, do the following steps:

1 - Assets > Export Package > All > Export > Name your package

2 - File > New Project... > Name your new project

3 - Assets > Import Package > Select the package you created > All > Import

4 - Exit Unity

5 - In Windows Explorer (or the equivalent for your operating system), navigate to the older project's folder and go to the Project Settings subfolder.

6 - Copy "TagManager.asset"

7 - Navigate to the newer project's folder and go to the Project Settings subfolder.

8 - Paste. Overwrite the file.

This is what worked for me, and if anyone else is in the same situation, I hope it works for you too. I found the asset package importing and exporting in another thread on here, but this does not transfer the tags and layers. I figured out what to do for these when I noticed that tags and layers are part of the project settings instead of the assets (which seems very odd to me). A pure copy/paste of the entire project would fail to do what you'd expect it to, but luckily, Unity will accept a copy of another project's *.asset file.

Thanks to everyone who replied to this question. You helped get me thinking on the right track, even if indirectly.

Comment
Add comment · 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

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Default Tags and Layers in Unity 1 Answer

How to merge Sorting Layers ? 1 Answer

Disable/Enable tag groups leaving lower level. 0 Answers

Limiting Wall Jump to only certain Object Collisions 1 Answer

UnityException: GameObject has undefined tag! 2 Answers


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