# MergeAllPrefabInstances(Object)

> Force re-merging all Prefab instances of this Prefab.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** MergeAllPrefabInstances is deprecated. Prefabs are merged automatically. There is no need to call this method.

```csharp
public static void MergeAllPrefabInstances(Object targetObject)
```

### Parameters

**** (\[Object]\(/engine/6000.0/script-reference/unityengine/object)):&#x20;

### Remarks

This is done automatically and you will not have to call this function manually.
