Keep non-instanced component values synced on nested prefabs.

Issue #12 on hold
Devon Klompmaker created an issue

In Unity, it is standard to keep non-instanced component properties in sync with the asset values themselves. This poses a challenge with nested prefabs since the nested reference isn't actually connected to the asset.

The proposal would be to upon applying of a prefab, ensure all component properties are reverted on instances that are non-instanced.

For instance a prefab structure of:

  • Forest
  • Forest -> Group
  • Forest -> Group -> Tree

The tree may have changes on the asset that do not reflect on the tree instances inside of the group nested structure. So when we apply "Tree", it would then revert non-instanced values on the other prefabs for the Tree prefab.

Comments (2)

  1. Devon Klompmaker reporter
    • changed status to open

    When applying self or applying a component, it will call revert components on the target object. This will keep other values in sync on nested prefabs while keeping scene modifications.

  2. Log in to comment