- Home /
How do I copy complex gameobjects from one project to another?
I have a complex gameObject of a city with terrains, textures, building models with their textures, etc. How can I copy this from an one Unity project to another?
Answer by Cyclops · May 01, 2010 at 03:43 PM
Everything that is under the Project tab, can be exported to a Package - including Scenes. Use the mouse to click on things, shift-click to pick an entire range, ctrl-click to select individual items. Then do an Assets->Export Package, which creates a .package file that you can re-import into your other project.
I've made a model of a character but i don't know how to import it to another project aka my game project please help me thanks!
Even if I just have a single game object in my scene selected, the Asset >Export Package wants to export every single thing in the scene. It is definitely not trying to export only the dependencies of my current scene selection.
Answer by StephanK · May 01, 2010 at 03:41 PM
Easiest way would be to make it into a prefab, then right click on the prefab in your project view and export package including dependencies.
Answer by FrojoS · Sep 06, 2012 at 02:48 PM
Just wanted to point out, that only the prefab to export way works for me. Otherwise, the actual GameObject doesn't get exported.
So:
1) Create prefab and rename
2) Drag object to prefab
3) mark prefab
4) Assests -> Export Package
5) include all dependencies
Note, that the directory structure will be preserved. So if your prefab is in a directory, this directory will be created when you import the package.
Can you elaborate? The above steps should work just fine.
Answer by prakyathd801 · Nov 11, 2020 at 06:05 AM
@Wilderman432 1) Create prefab and rename 2) Drag object to prefab 3) mark prefab 4) Assests -> Export Package 5) include all dependencies
Thnx @prakyathd801
This works really well for us, thank you! TalkToWendys
Your answer
Follow this Question
Related Questions
using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers
Creating a empty object to not lose children's scale 1 Answer
Joint pick up script joint not being set to z of the object picked up 0 Answers
Radio button like toggle behaviour on gameobjects 1 Answer
How to join a specific image to random button...?,Hello everybody, 0 Answers