Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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?