Documentation Home
v1.22 v1.23
v1.22 v1.23

Skyreal extensions sub system

What is it?

The SkyReal Extensions Subsystem loads optional content into a SkyReal application. An extension can provide Blueprint assets, Data Assets, user interfaces, commands, materials, meshes, or additional SkyReal features.

Extensions can be delivered as Unreal plugins, content folders, PAK files, or ZIP files. The subsystem is created automatically when the application starts.

How does it work?

During startup, the subsystem:

  1. Finds the configured extensions.

  2. Loads their files.

  3. Mounts their content in Unreal Engine.

  4. Registers their SkyReal assets.

  5. Makes the assets available to Blueprints and other SkyReal systems.

Extensions are loaded before the SkyReal Registry is initialized. This ensures that extension assets can be discovered during application startup.

Extension configuration

Extensions are usually configured in a file named SkrExtensions.json, located next to the Unreal .uproject file.

This file can reference:

  • Unreal plugins

  • Content directories

  • PAK archives

  • ZIP archives

In most projects, this file is generated or provided automatically. Blueprint users normally do not need to edit it manually.

Creating compatible extension content

Assets that must be automatically registered by SkyReal should be placed in:

RegistrableAssets/

Primary Data Assets should be placed in:

RegistrableAssets/PDA/

For an extension named MyExtension, the corresponding Unreal paths are typically:

/MyExtension/RegistrableAssets/
/MyExtension/RegistrableAssets/PDA/

Assets located outside these directories can still be loaded normally, but they are not automatically registered by the SkyReal Registry.

Accessing the subsystem in Blueprint

Use the Get Engine Subsystem node and select Skr Extensions Subsystem.

Load Extensions From File

Loads the extensions described by one SkrExtensions.json file.

  • Path to Extension File: path to the JSON file.

  • Out Error Message: details about any loading error.

  • Return Value: true when the file was successfully processed.

Load Extensions From Files

Works like Load Extensions From File, but accepts several JSON files. Use it when multiple extension packages must be loaded together.

Get Loaded Extensions Name

Returns the currently mounted extensions. Each entry contains the Unreal mount path, the physical content path, and the extension dependencies.

Unloaded Extension

Unregisters and unmounts an extension. Before using it, make sure that no displayed widget, Actor, Blueprint, or other object still references assets from that extension.

This operation removes access to the extension content, but it does not unload Unreal C++ modules.

Typical Blueprint loading flow

  1. Get the Skr Extensions Subsystem.

  2. Call Load Extensions From File.

  3. Check the returned Boolean.

  4. If loading fails, display or log the Out Error Message.

  5. If loading succeeds, continue the application flow.

Extension dependencies

An extension can depend on another extension. Dependencies are read from the Unreal .uplugin files, and the subsystem attempts to mount dependencies before the extensions that use them.

All extensions to be loaded, including their dependencies, must be listed in SkrExtensions.json. The subsystem does not add missing dependencies automatically; it only reorders the extensions declared in the file so that dependencies are mounted first.

Limitations

C++ extensions. SkyReal extensions are intended to load Blueprint and content assets. They do not support deploying or hot-loading new C++ code at runtime. Any required native module must already be included in the application as a compatible Unreal plugin.

Asset references. An extension must be self-contained. All assets it uses must belong either to the extension itself or to one of its declared dependencies. Each dependency must also be listed in SkrExtensions.json and mounted. References to assets outside this set—including Unreal Engine assets or assets from Unreal plugins that were not mounted as extensions—are not guaranteed to resolve.


Summary

The SkyReal Extensions Subsystem allows Blueprint features and assets to be distributed separately from the main application.

  • Put automatically registered assets in RegistrableAssets.

  • Put Primary Data Assets in RegistrableAssets/PDA.

  • Use Get Engine Subsystem to access the subsystem.

  • Check the returned Boolean and error message when loading an extension.

  • Remove every reference before unloading an extension.