# IsPrefabAssetMissing(Object)

> Returns true if the given object is part of a Prefab instance but the source asset is missing.

## Definition

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

```csharp
public static bool IsPrefabAssetMissing(Object instanceComponentOrGameObject)
```

### Parameters

**** (\[Object]\(/engine/6000.6/script-reference/unityengine/object)): The object to check. Must be a component or GameObject.

### Returns

| Type                                                          | Description                                                                            |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the given object is part of a Prefab instance but the source asset is missing. |
