---
title: SubsystemRegistration
product: Unity Editor
version: '6000.7'
latest_version: '7000.0'
status: This page documents version 6000.7. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.7/script-reference/unityengine/runtimeinitializeloadtype/subsystemregistration
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/runtimeinitializeloadtype/subsystemregistration.md
last_updated: 2026-11-21
generated_at: 2026-11-21T15:53:56.011Z
locale: en-us
---

# SubsystemRegistration

> Callback invoked when starting up the runtime. Called before the first scene is loaded.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ScriptingModule

```csharp
SubsystemRegistration = 4
```

### Remarks

For new code, use [OnCodeInitializingAttribute](/engine/6000.7/script-reference/unity/scripting/lifecyclemanagement/oncodeinitializingattribute.md) instead for better resource pre-allocation timing. For more information, refer to [Code reload and the code lifecycle](/engine/6000.7/manual/programming-environment/code-reload-serialization/code-reload/code-lifecycle.md) in the manual.

For more information on the execution order of this option relative to the others, refer to [RuntimeInitializeOnLoadMethodAttribute](/engine/6000.7/script-reference/unityengine/runtimeinitializeonloadmethodattribute.md).
