---
title: "Automatic Instrumentation"
description: "Learn what transactions are captured after tracing is enabled."
url: https://docs.sentry.io/platforms/unity/tracing/instrumentation/automatic-instrumentation/
---

# Automatic Instrumentation | Sentry for Unity

## [Automatically Captured Transactions](https://docs.sentry.io/platforms/unity/tracing/instrumentation/automatic-instrumentation.md#automatically-captured-transactions)

The Unity SDK automatically creates transactions for the game's startup and scene loading.

If you want the SDK to also generate spans for all `Awake` calls during startup and scene operations, you can enable the following settings through the Editor Config Window or [programmatically](https://docs.sentry.io/platforms/unity/configuration/options.md#programmatic-configuration).

```csharp
public override void Configure(SentryUnityOptions options)
{
    options.AutoSceneLoadTraces = true;
    options.AutoStartupTraces = true;
}
```

After you've configured your instrumentation, the Unity SDK will generate traces as shown in the image below.
