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 /
This question was closed Jan 10, 2019 at 11:41 AM by Bunny83 for the following reason:

The question is answered, right answer was accepted

avatar image
5
Question by monark · Jul 21, 2011 at 09:28 AM · scenereferencecopy

How to copy a scene to a new unity project

I'm trying to copy a scene from one Unity project to another, all the scripts and resources required exist in both places but when I copy it in or export/import it as an asset all the references to other assets in the inspector are lost. I.e If I have a variable pointing at a texture that becomes "None"

How can I copy a scene and preserve all the references?

Comment
Comments Locked · 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 kwhatmough · Jun 01, 2013 at 10:27 AM 0
Share

Same problem here. Was there ever a solution? This link seems to suggest that an option exists for including the Library (project settings) in your Export, but I can't seem to find that option in the Unity IDE: http://docs.unity3d.com/Documentation/ScriptReference/ExportPackageOptions.html

avatar image Codex1536 · Apr 02, 2015 at 06:40 PM 1
Share

Here's what I say to that:

 for i in range(1, 100):
     print("I'm having the same dang problem!)
 
avatar image RoCah · Nov 29, 2015 at 04:41 PM 0
Share

In any other software such as let's say $$anonymous$$ax/$$anonymous$$SP, you would export the complete scene from a menu command. The whole necessary assets, and only them, would automatically be selected and exported to a packaged scene, which you would then be able to open in any other project or share with others.

Thus in unity, you have to manually selet every item to include or exclude to/from the package. That is called, making things difficult !

avatar image Vontarga · Sep 18, 2017 at 04:52 PM 0
Share

Thank you to everyone who posted here. I needed this information, and it was crystal clear. After backing everything up, I did this, and it worked perfectly. :)

@Eric5h5 @monark @asafsitner

2 Replies

  • Sort: 
avatar image
14
Best Answer

Answer by Eric5h5 · Jul 21, 2011 at 04:39 PM

The way to copy a scene is to select it and do Assets -> Export Package, then import it into the new project. Make sure all dependencies are included.

Comment
Comments Locked · Show 10 · 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 LAKSHAYMAVIA · Sep 06, 2018 at 03:36 AM 0
Share

It worked . just have to do little tweeks.

avatar image cardiacrash · Nov 20, 2018 at 04:44 PM 0
Share

Yes it does.

avatar image serveri · Jan 10, 2019 at 06:52 AM 0
Share

No it doesn't WOR$$anonymous$$

avatar image Eric5h5 serveri · Jan 10, 2019 at 07:29 AM 0
Share

Plenty of people do it all the time and it works fine. So what's more likely: "it doesn't work" (when it does), or you're doing something wrong?

avatar image cdr9042 · Jan 10, 2019 at 07:29 AM 1
Share

OP's attitude is really problematic. The kind of user that give support a headache. I would tell him to check the little box that say "Include dependencies", and don't copy paste code in a new script files because it screws up Unity meta references and what not, but I assume I'll receive "It doesn't work" as a response

avatar image Bunny83 · Jan 10, 2019 at 11:40 AM 0
Share

Once and for all this does work. However as we can all read in the question description the OP said:

all the scripts and resources required exist in both places

The pure "existance" of the resources is not enough. They need to have the same meta data. If you just copy the same script to another project it will be a completely different asset and can't be referenced by the scene when you import it. You always have to either export all assets required within a package or make sure you copy the files with their meta files.


Since this question is about 8 years old, already correctly answered and constantly bumped for no reason without adding any useful information, I'll accept Eric's answer and close this question. If you feel like you have to contribute any new information on that topic, ask a seperate question and be more specific what doesn't work and what exactly happens. Which kind of objects are affected by the problem, etc... Also before posting another rant, create a simple repro case which you could share which demonstrates the issue. If you don't have the time to do this or you're not willing to ask specific question, just stop dropping your frustration here. This is not a support forum where you can reach the developers of Unity. Bumping questions without adding something new just hurts everyone else who actually has a well described problem and needs help.

Show more comments
avatar image
6

Answer by asafsitner · Jul 21, 2011 at 12:51 PM

Unity stores the connections between assets in the Library folder. Since every project has its own Library folder, if you just copy the assets the connections will break. You need to export the scene and all its content as a package. Alternatively, you can try copying over the Library folder, but that can possibly cause errors and/or warnings, as well as break existing connections.

Comment
Comments Locked · 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

Follow this Question

Answers Answers and Comments

15 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

Related Questions

Making a deep copy of gameobject. 1 Answer

Clone class variables to another... Copy class not by reference 4 Answers

Can I get a reference (not a copy) to a string from a script? 2 Answers

How to copy Elements of Scenes between projects 1 Answer

copying a scene to another 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