- Home /
How to create a copy of a prefab (Not Variant)
Hello!
How to create a complete copy of a prefab, while not related to the original prefab? So that you can modify the copy independently of the original and vice versa.
I created the tree using the standard Unity tool. Since the Tree does not support Prefab Variat, I need to make variations of this tree in a different way, without creating the tree from scratch every time.
Answer by MUG806 · Feb 16, 2021 at 09:38 AM
When you drag your altered prefab into your project folder unity should prompt you if you want an original prefab or a variant:
EDIT: It seems trees specifically work differently. Select your tree asset in the project window, and press ctrl+d to duplicate it. This also creates duplicates of all the special tree data which wasn't getting copied by the usual method. Now you can drag the duplicated tree into your scene and edit it independantly.
Thanks for the answer. I tried creating the original prefab, that also doesn't work (Works with ordinary objects, but not with trees). Both prefabs change synchronously
Added a tree specific solution to my answer above!
Unfortunately that didn't work either
Your answer
![](https://koobas.hobune.stream/wayback/20220613025240im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Efficiently mimic movements of GameObject 2 Answers
Any suggestions on this approach to multiple objects and materials 0 Answers
Clone class variables to another... Copy class not by reference 4 Answers
How do I get an A.I. to follow my movements? 0 Answers
Prefab Variables Changing in the Original, Not the Copies 2 Answers