> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/steam/initialization/unreal-initialization.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
