Skip to content

Removing Demo Content

If you wish to remove the demo content of the asset, you can do so with two methods:

  • Soft-removal → ensuring it does not end up in your final packaged game but keeping it in the unreal project
  • Hard-removal → removing it entirely from the unreal project

Soft-removal of the demo content

To soft-remove the demo content and making sure it doesn't end up in your final packaged game, we simply need to tweak the project settings to prevent that content from being packaged.

  1. To do so, go to Edit > Project Settings

  2. Then, click on the Packaging section, and expand the Advanced dropdown under Packaging

  3. In this dropdown, locate the variable Directories to never cook

  4. Add a new entry to this variable then click on the three dots ... and select the folder EasyGameUI/Maps

  5. Once this is done, the demo content of the asset will no longer be packaged unless explicitely referenced in other parts of your project

Disclaimer

If you are using the Demo Global Config data asset, some level references may be invalid while in package (if they still use the demo levels), in which case some logic may lead to unwanted behavior due to the levels not being able to load.

You can check out the Global Config section of the documentation if you wish to use a new config data asset without those references.

Hard-removal of the demo content

Warning

Before attempting any hard-removal, make sure to backup your project! Deleting assets in Unreal can be unstable and could lead to data loss, make sure to create a backup before starting.
Please note also that hard-removing the demo content is not fully recommended as it can be useful to debug issues or see base implementations of features of the asset.

If you wish to hard-remove the demo content from your project, you will first need to make sure you aren't using any of that content in your game, including through the Global Config system.

  1. To get started, you will first need to create a blank new Global Config in order to be able to safely delete the Demo Global Config data asset.
    In order to do this, simply check out the sections How to create a new Config Data Asset and How to select the data asset used by the system from the Global Config documentation

  2. Once you have created your new data asset and associated it to the config selector, you can start deleting the demo content. To do so, open your Content Browser and locate the Maps folder inside the EasyGameUI folder

  3. Select the folder and Right Click > Delete. In the popup that appears select the two referencing assets and Right Click > Add to Pending Deletes
    At this point no more assets should be referencing, if you still have assets referencing, it might mean that you still use the demo config or have referenced the content somewhere else. Once all the references are cleared, simply press delete in the popup.

  4. Then, in your content browser, search for all occurences of folders named DemoContent (Do not delete all of them yet)

  5. Start by deleting the DemoContent folders under EasyHudBuilder, EasyInteractionSystem, EasyGameBenchmark and EasySaveGameUI

  6. Finally, delete all the folders in EasyGameUI/DemoContent except Inputs and Audio/UI (UI Audio can be force deleted if you wish, but I would recommend keeping it)

  7. Once this is done the demo content of the asset will be fully removed from the project