Search Unity

Direct dependencies of prefab variant differs from that of the original prefab

Discussion in 'Prefabs' started by prg-liulie, Jul 5, 2019.

  1. prg-liulie


    Dec 23, 2017
    Use AssetDatabase.GetDependencies(prefabVariant, false) to get direct dependencies of a prefab variant, and the result is different from that of the original prefab when there are nested prefabs in the original prefab. It says that the prefab variant doesn't depend on the nested prefabs directly, but depends on the dependencies of the nested prefabs directly. Is this a bug?