Tutorial: How to create a new Game Feature Plugin and Experience in Lyra

Game Feature plugins are a bit different than regular plugins. @JGZ

The engine will ALWAYS show you that they exist, unlike other plugins. That being said, it DOES NOT actually load and initialize them unless you explicitly tell it to.

Check your MyPlugin uasset in the root content folder for your Game Feature plugin. Open it in editor, you will see that it has the option to set the state of the plugin. Here you can set the state you want for the plugin.

For example, here is my XCL Game Feature plugin’s GameFeatureData asset. The current state = Active so it is actually loaded and initialized.

If you want your engine to ignore your plugin by default, such that you must EXPLICITLY load it yourself in code, then set the Initial State to Registered. If you want it to be even more ignored, then set it to Installed.

(FWIW you can edit this in the .uplugin definition as well).

4 Likes