What are the actions that can trigger a reset in prefab instance components values?

As the question say…

Yesterday i returned to a scene and i figured out my object component script values has been reset but i can’t figure out why.

Which moves in the editor exactly can trigger a reset in prefab instance components values?

The Reset method is only called in two cases:

  • When you create a new instance by attaching a component to a GameObject.
  • When you right-click on the context menu of the component in the inspector and select “Reset”.

If you talk about prefab-override values, usually only when you click “revert” at the top of the instance it will be linked back to the shared prefab values. Clicking “Apply” also links back to the prefab, but sets the prefabs values to those in the current instance.

If you ment something else, you have to be more precise, maybe post a screenshot.