Search Unity

Convert existing prefab to a variant to another prefab, possible?

Discussion in 'Prefabs' started by esteban16108, Sep 19, 2019.

  1. esteban16108

    esteban16108

    Joined:
    Jan 23, 2014
    Posts:
    158
    Hi,

    I duplicated some prefabs and now I realized that I need to start having more 'variants' so the idea is to have 1 base prefab and convert all of the other existing ones into variants of the one.

    Is that possible?

    Thanks.
     
  2. runevision

    runevision

    Joined:
    Nov 28, 2007
    Posts:
    1,892
    There is not a good way to do this today.

    You can make a variant and drag it onto the Prefab Asset it's meant to replace. However, this will replace the object in the Prefab Asset with new objects with different IDs. This means that all overrides in your scenes on instances of the Prefab will no longer work, including position and rotation. It's something we'd like to look into solving in the future.
     
    NeatWolf likes this.