Setting Up SGGameUserSettings

Setting SGGameUserSettings as the default Game User Settings Class is very straightforward. You can do this by navigating to Project Settings > Engine > General Settings > Default Classes > Advanced > Game User Settings Class. Once you change the default Game User Settings Class the Unreal Editor will prompt you with Restart required to apply new settings. For the changes to take effect, click on the Restart Now button and wait for the editor to reopen.

Setting Up SGGameUserSettings - Setting the default class SGGameUserSettings

tip

For greater control and customization, consider extending the SGGameUserSettings.

important

Currently, setting SGGameUserSettings or a subclass of it as the default Game User Settings Class is not a strict requirement. However, if you intend to use any SGGameUserSettings-related SenseGlove console command it becomes mandatory. If not set, calling any SGGameUserSettings-related SenseGlove console command will cause your simulation or editor to crash.

Extending SGGameUserSettings

Follow these steps to extend and set up your own version of SGGameUserSettings:

  1. In the Content Browser, click the + Add button, then select Blueprint Class from the menu. Alternatively, right-click inside the Content Browser and choose Blueprint Class from the context menu.

Extending SGGameUserSettings - Adding a Blueprint Class

  1. A dialog will appear asking you to choose a parent class. Click on the ALL CLASSES section to expand the list of available classes.

Extending SGGameUserSettings - Picking a Parent Class

  1. In the expanded ALL CLASSES section, start typing SGGameUserSettings in the Search box. When SGGameUserSettings appears, select it and click the Select button to create your new Blueprint class based on it.

Extending SGGameUserSettings - Picking SGGameUserSettings as the Parent Class

  1. After returning to the Content Browser, the Unreal Editor will prompt you to rename NewBlueprint to your desired class name. You can rename the class at any time by pressing F2 or by right-clicking on it and selecting Rename from the context menu.

Extending SGGameUserSettings - Renaming NewBlueprint

  1. Once you have renamed the NewBlueprint class to your desired name, click on Save All to save the new class to disk.

Extending SGGameUserSettings - Renamed NewBlueprint to BP_SGGameUserSettings

  1. Finally, set your newly created subclass of SGGameUserSettings as the default Game User Settings Class. You can do this by navigating to Project Settings > Engine > General Settings > Default Classes > Advanced > Game User Settings Class. Once you change the default Game User Settings Class the Unreal Editor will prompt you with Restart required to apply new settings. For the changes to take effect, click on the Restart Now button and wait for the editor to reopen.

Extending SGGameUserSettings - Setting the default class BP_SGGameUserSettings