Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by rowdyp · Jun 14, 2013 at 02:14 PM · packagesprojectsmerging

merging two projects

Hello again everyone;

I know this has been asked already, but I am having problems merging two Unity Projects. I know about exporting as a package and that works well for exporting a project into an empty project, but when you try to export that package into a project that already has items in it, the new package loses all dependencies even with the box checked in the exporter. Has anyone came up with a solution to this as having to relink everything is very time consuming?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by DannyB · Jun 14, 2013 at 02:39 PM

The best way that I found (although I am sure there is more than one way to do it), is this:

  1. I do not use Unity's export / import package.

  2. I have Meta Files enabled (in Project Settings) for all my projects.

  3. When I want to copy parts from one project to another, I simply copy all the needed items, with their meta files.

This process works for me perfectly, I am moving my libraries and common systems between projects constantly. The references are saved thanks for the meta files.

Comment
Add comment · Show 2 · 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 rowdyp · Jun 14, 2013 at 03:31 PM 0
Share

do you need to place the meta file in the same folder or something because all my meta files are there yet it still breaks when trying to merge the whole project into another project

avatar image DannyB · Jun 14, 2013 at 03:40 PM 0
Share

You do not "place" the meta files anywhere, Unity places them for you. One meta file for each actual file you have in the project. Both your projects needs to have these meta files enabled, and as I said, do not use export package, simply copy whatever you need from one project to another. Try it first with a small part of your project.

avatar image
0
Wiki

Answer by AlanMattano · May 15, 2014 at 02:25 AM

Make a package of Project 2 Scene and in Project 1 import it as a Custom Package.

[work in progress]

Package is an edit time feature that lets you export and import collections of source code and project. Can help you merging two projects and similar questions.

I try in this 2 ways. Making a package of the scene or the entire assets

EXPORTING THE SCENE

  1. Close Unity. Make a copy of the main folder "myGame" or "myMenu project1" of the Project where you what your final union merge. In this case make a copy of Project 1 where is the scene "Game Menu"(p.1) and the projects settings are set up. Example: If tree folder is C:/UNITY/MyUnitys/MyGame/Assets/Scene then copy "MyGame" folder. [ MyGame - copy ] So if there is any problem you have a backup.

  2. Open Unity, Open Project 2. Then Select the scene "Game Name"(p.2) you want to export, then right click and select dependency in the drop down menu; then in the blue selection right click and in the drop down selection, click in Export package. In version 4.3 ( I think there is a bug ) works better if in exporting package windows you select "none and the you click two times the check box "include dependency". with the check box selected, press "export". It will take time to compress. If it do not work (it gives you errors to import) try next time to click only one time include dependency so the check box is not selected as bool.

  3. Just take a look to the manes of all the assets you install from asset store to help in your project (just remember the names of the folder). Here is a problem if there are a lot. In my Version number i pick notes of all assets i install from the assets store into my project.

  4. Open Project 1. Import the the asset into Project 1 (from: Assets ->Import Package -> Custom Package).

  5. If there is no "Game Name"(p.2) scene file (I think there is a bug in Unity). Return to Project 2 and try one more time. Select "Game Name"(p.2) in your scene folder, then right click and export package and directly "export" button (the check box is selected by default) as a new name. Go to Project 1 and install the new custom package. If the "Game Name"(p.2) is not included but all the files yes, then just make a specific package including only the file scene"Game Name"(p.2).

  6. Install in project 1 all the assets necessary from the asset store window that was included in project 2. In my case was necessary to install : Projection Correction.

  7. Open scene "Game Name"(p.2) in Project 1 and Play. Look in console for errors. Probably you will need to drag and drop array content to the script and other links messing. Turn off Anti aliasing if you are using HDR on in MainCamera And to set up Input Buttons in Edit -> Project Settings -> Input

EXPORTING THE ASSETS

Is similar to the first way but select the "asset" folder instead of the scene file.

At point 2) select the Asset folder right click and in the drop menu select "export Package..."

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

16 People are following this question.

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

Related Questions

deleting projects 3 Answers

How do I properly rename my project and its builds and stuff like that? 1 Answer

Unity 4.6 Crashes When Opening Packages 0 Answers

Rendering.PostProcessing.UpdateStrippingBeforeBuild does not implement interface member - Unity 2018 Update 0 Answers

Can't combine Shader Graph and Visual Effects Graphs. 0 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