Search Unity

Bug Removing a component in a prefab instance does not remove reverences

Discussion in 'Prefabs' started by manuelgoellnitz, May 10, 2021.

  1. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    I have a prefab with a component A.
    This component is referenced in other gameobjects in that prefab.

    In an instance of that prefab I removed the component A. And correct wise in all components which referenced A the reference is now "null".

    But when I reload the scene the reference is back!
    But it now points not to the component A on the instance, but to A on the prefab asset instead!
     
  2. pietrodenicola

    pietrodenicola

    Unity Technologies

    Joined:
    Dec 8, 2020
    Posts:
    43
    it feels like a bug. Can you make a small project that reproduces it?