x


How to 'merge' scene objects from one scene to another without losing prefabs?

I'd like to 'merge' many objects from one scene to another, like the 'merge' operation found in the 3D modeling apps. The objects I want to merge are mostly prefabs. If I parent them to a game object and turn that one into a prefab, I can easily include them in another scene file, but they are losing their prefabs.

So could you please lighten me on what's the best workflow for this task?

Thanks a lot!

more ▼

asked Dec 01 '09 at 08:59 PM

BogdanDude gravatar image

BogdanDude
268 16 17 32

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

Just a quick hack, but I just highlight everything I want to move over from the hierarchy, hit copy and then open the new scene and hit paste.

Moves everything over from one scene to another just fine on my end. I could possibly see complications if you try to move a lot, however.

==

more ▼

answered Dec 01 '09 at 10:55 PM

equalsequals gravatar image

equalsequals
4.5k 16 28 64

that causes a crash on my computer!

May 07 '10 at 02:13 AM nanci

Sorry to hear that - like I said, I can foresee complications.

May 07 '10 at 06:37 PM equalsequals
(comments are locked)
10|3000 characters needed characters left

So that's how Macs work! :) Nice to know. It looses the prefabs though..

I just wrote a script to help a lot with this (without losing the prefabs): http://forum.unity3d.com/viewtopic.php?p=237536#237536

Thanks!

more ▼

answered Dec 01 '09 at 11:01 PM

BogdanDude gravatar image

BogdanDude
268 16 17 32

You should be able to reconnect to the prefab, I believe. In fact, I didn't lose the prefabs at all when I did it...

Dec 02 '09 at 03:33 AM equalsequals
(comments are locked)
10|3000 characters needed characters left

There is another way of doing this that I'm using. The method and the Script are described here: http://forum.unity3d.com/viewtopic.php?t=21103.

more ▼

answered Dec 02 '09 at 06:44 AM

ericksson gravatar image

ericksson
1.9k 11 14 45

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x996
x744

asked: Dec 01 '09 at 08:59 PM

Seen: 5383 times

Last Updated: Dec 01 '09 at 08:59 PM