Search Unity

Bug prefab override detector overzealous

Discussion in 'Prefabs' started by laurentlavigne, Jun 28, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,364
    upload_2021-6-28_11-59-50.png

    zero is zero change yet it's detected as an override
     
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,364
  3. SteenLund

    SteenLund

    Unity Technologies

    Joined:
    Jan 20, 2011
    Posts:
    639
    It seem like "Raycast Target" was overridden at some point. Once a property is overridden it stays overridden until you revert it.

    Changing the property back to its original value will not remove the override and there is actually a use case for this, so we are not going to change this behavior. The use case being that you can use this to ensure the instance keeps its current property value, even if some one decides to change the property value on the Prefab asset.
     
    laurentlavigne likes this.
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,364
    Thanks, I thought it was based on delta.

    Yes! I do that all the time.