# Unreal Initialization

Unreal will initialise for you by default. The Steamworks SDK integration is a built-in part of the Unreal Engine. Heathen's Toolkit is built on top of that and exposes it to Blueprints for you.

As a result, there are no special steps required to initialise Steamworks when our toolkit is present for an Unreal package (built game).

## PIE (Play in Editor)

Unreal's built-in Steam plugin will not initialise Steamworks when simulating in PIE.&#x20;

Using our tools, however, you can force Steamworks to initialise even in PIE, making it available for dev testing in the editor.

Please note that Steam Networking is not available in PIE. This is a limitation of Unreal Engine; it disables the Steam Sockets drivers when running in PIE.

<figure><img src="/files/IjzFIMIrSamruPPZcq0v" alt=""><figcaption></figcaption></figure>

You can call the Initialise Steam API from anywhere to initialise the API. This is a safe call, that is, if the API is already initialised, it will just return the current state; if it's not, it will initialise and return the result, meaning you can safely set this at the start of any logic you want to run in the editor for testing, and it won't hurt anything even in a build.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/steam/initialization/unreal-initialization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
