Skip to content

Scene Levels and Maps

This topic covers how levels and maps can be configured within an Unreal Engine scene for control via RenderStream.

The Unreal Engine plugin allows you to generate scenes from either Levels or Maps within a project. This functions similarly to how the ‘Effects’ parameter in Notch blocks work.

Levels/Maps in Unreal Engine (UE) can be composed of any number of actors. There are three options for deciding how scenes will be generated from your Unreal Engine project:

None - this offers no scene control and simply merges all Levels of your default Map into a single persistent level.

Streaming Levels - this option generates scenes from all Levels/Sub-levels within your default Map. The Actors within a Level other than the persistent level are unique to that level. The Actors within the persistent level are shared across all levels. Parameters exposed in levels other than the persistent level will only be available when the corresponding scene is chosen in the RenderStream layer. Parameters exposed in the persistent level will be available across all scenes in the RenderStream Layer.

Maps - this option generates scenes from the Maps within your project. Maps will only display the Actors and exposed parameters present within a sublevel and not include those in any parent levels. From RenderStream 3.0 you can limit which Maps are listed (see Choose which Maps appear in Designer).

Scene SelectorPersistent LevelSublevel
NoneActors and parameters from all levelsX
Streaming LevelsPersistent level’s actors and parametersPersistent level’s + Sublevel’s actors and parameters
MapsPersistent level’s actors and parametersSublevel’s actors and parameters only

Parameters are exposed from RenderStream Blueprint actors placed in each level (RenderStream 3.0), or from each level’s Level Blueprint (RenderStream 2.0 and earlier). See Exposed Parameters in Unreal Engine.

RenderStream 3.0 changes how scenes are saved to the schema. These changes require Designer r34.0.2 or later.

  • Streaming Levels: the persistent level’s parameters are saved once, in the persistent level’s scene, and are no longer copied into every sublevel. Each sublevel scene in the schema only contains the parameters unique to that sublevel. The persistent level’s parameters are still available in every scene in the RenderStream Layer. Saving the schema is much faster for projects with many sublevels.
  • Maps: if the project’s packaging settings list the Maps to include in a packaged build, only those Maps are saved to the schema. If the list is empty, every cached Map is saved, as in earlier versions.

Enable the RenderStream plugin and set the scene selector

Section titled “Enable the RenderStream plugin and set the scene selector”
  1. From the menu, select Edit > Project Settings….
  2. Navigate to Plugins/ Disguise RenderStream in the left panel.
  3. Set Scene Selector as required. The options are None, StreamingLevels, or Maps.

By default, the Maps scene selector saves every Map in the project to the schema. Projects containing sample content, test levels or Marketplace assets can produce a long list of scenes in Designer and take longer to save.

With the RenderStream 3.0 plugin, you can limit the list to the Maps you need:

  1. From the menu, select Edit > Project Settings….
  2. Navigate to Project > Packaging in the left panel.
  3. Expand the advanced options of the Packaging section and find List of maps to include in a packaged build.
  4. Add an entry for each Map you want to appear in Designer.
  5. Save the project so the schema is regenerated.

Only the Maps in this list are saved to the schema, and the Unreal Engine Output Log reports how many Maps were saved. The same list controls which Maps are included when you package the project (see UE Project Setup), so a packaged build and the scenes listed in Designer stay in step.

  1. Open the scene in the Unreal Engine Editor.
  2. Select any Actor from the Outliner panel (e.g. Chair).
  3. Select Window > Levels from the scene window.
  4. Click the Levels dropdown and select Create New with Selected Actors.
  5. Name the level and click Save.
  6. Rebuild lighting if required (Unreal Engine may display errors at this point but it will recover).
  7. Save and close Unreal Engine.
  1. Open the RenderStream Layer in Disguise Designer and Start the workload.
  2. Modify the Scene parameter.

UE Levels

Use Console Variables (CVAR) to control Sublevel visibility

Section titled “Use Console Variables (CVAR) to control Sublevel visibility”

This workflow allows users to control the visibility of Levels in Multi-Level and Multi-Sublevel Unreal projects while using Multi-User Editor.

  1. Ensure the Scene Selector is set to Maps. Scene Selector - Maps
  2. Right-click the selected Sublevel/s in the Levels panel, and select Change Streaming Method > Always Loaded. Set sublevels to Always Loaded
  3. Start the Multi-User session in the Editor, then launch the workload.
  4. Set the CVAR to 1 (Default value is 0) in the Console Variables window (or in Level Blueprint).

Console variables

  • When using the Maps Scene Selector option, all maps within your Unreal Engine project must be loaded in the Editor at least so that they are cached. If they are not loaded at least once, they will not appear within the scene selection.
  • When using the Maps Scene Selector option, sublevels are handled differently compared to when the Streaming Levels option is selected.
    • Maps will only display the Actors present within a sublevel and not include those in any parent levels.
    • Streaming Levels will display the Actors present within a sublevel as well as those included in any parent levels.
  • When using the Maps Scene Selector option with RenderStream 3.0, only the Maps listed in List of maps to include in a packaged build are saved to the schema, if that list is not empty.
  • When using the None Scene Selector option, the scene Unreal will present when a workload is started will always be the Game Default Map set within the project settings (unless otherwise specified using the Custom Options field).