> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/scene-fusion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/scene-fusion/api-reference/ks.scenefusion.client.unity/ks.scenefusion.client.unity.sfmissingcomponent.md).

# Class sfMissingComponent

Namespace: [KS.SceneFusion.Client.Unity](/scene-fusion/api-reference/ks.scenefusion.client.unity.md)\
Assembly: KSUnity-Source.dll

Stand-in component attached in place of missing components. Stores the missing component name and property data so that when copied, the data for the component can be synced to other users. Will be replaced by the correct component when it becomes available during a session.

```csharp
[AddComponentMenu("")]
public class sfMissingComponent : sfBaseComponent, sfIMissingScript
```

#### Inheritance

object ← Object ← Component ← Behaviour ← MonoBehaviour ← [sfBaseComponent](/scene-fusion/api-reference/ks.scenefusion.client.unity/ks.scenefusion.client.unity.sfbasecomponent.md) ← [sfMissingComponent](/scene-fusion/api-reference/ks.scenefusion.client.unity/ks.scenefusion.client.unity.sfmissingcomponent.md)

#### Implements

[sfIMissingScript](/scene-fusion/api-reference/ks.scenefusion.client.unity/ks.scenefusion.client.unity.sfimissingscript.md)

#### Inherited Members

[sfBaseComponent.Initialize()](/scene-fusion/api-reference/ks.scenefusion.client.unity/ks.scenefusion.client.unity.sfbasecomponent.md#ks_scenefusion_client_unity_sfbasecomponent_initialize)

#### Extension Methods

[sfUnityUtils.IsDestroyed(Object)](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfunityutils.md#ks_scenefusion_client_unity_editor_sfunityutils_isdestroyed_unityengine_object)

## Properties

### Name <a href="#ks_scenefusion_client_unity_sfmissingcomponent_name" id="ks_scenefusion_client_unity_sfmissingcomponent_name"></a>

Name of the missing component. See sfComponentUtils.GetName.

```csharp
public string Name { get; set; }
```

#### Property Value

string

### ReferenceMap <a href="#ks_scenefusion_client_unity_sfmissingcomponent_referencemap" id="ks_scenefusion_client_unity_sfmissingcomponent_referencemap"></a>

Map of sfobject ids to uobjects referenced in the serialized data. Because sfobject ids can change between sessions, this is needed to ensure the object references are correct when deserializing data that was serialized in a different session.

```csharp
public ksSerializableDictionary<uint, Object> ReferenceMap { get; }
```

#### Property Value

ksSerializableDictionary\<uint, Object>

### SerializedProperties <a href="#ks_scenefusion_client_unity_sfmissingcomponent_serializedproperties" id="ks_scenefusion_client_unity_sfmissingcomponent_serializedproperties"></a>

Map of property names to serialized property data.

```csharp
public ksSerializableDictionary<string, byte[]> SerializedProperties { get; }
```

#### Property Value

ksSerializableDictionary\<string, byte\[]>

### SessionId <a href="#ks_scenefusion_client_unity_sfmissingcomponent_sessionid" id="ks_scenefusion_client_unity_sfmissingcomponent_sessionid"></a>

The id of the session the serialized property data is from.

```csharp
public uint SessionId { get; set; }
```

#### Property Value

uint
