Search Unity

Prefab variants with Content size fitters and Layouts Groups

Discussion in 'Prefabs' started by MPeloquin, Apr 1, 2019.

  1. MPeloquin

    MPeloquin

    Joined:
    Nov 19, 2018
    Posts:
    2
    I have some prefab variants that use content size fitter and layout groups. The rect transforms of some GameObjects in the prefabs have their values driven by the Content Size Fitters and layout groups and are always marked as "dirty" in the overrides menu.

    If I click on "Revert" it is no longer dirty but becomes dirty again once the values are updated by Unity automatically, by example when I revert another "dirty" rect transform.



    Is there a way to prevent these rect transforms with values driven by components to not be marked as dirty? It makes it hard for me to know what is the real difference between the variant and the original prefab.

    Thanks
     
  2. runevision

    runevision

    Joined:
    Nov 28, 2007
    Posts:
    1,892
    Which version are you using? This issue should be fixed in 2018.3.10f1 / 2019.1.0b7.
     
  3. MPeloquin

    MPeloquin

    Joined:
    Nov 19, 2018
    Posts:
    2
    I was using 2018.3.9f. Thanks, I'll update now