Register Assets with the Asset Manager
Register the folders where your plugin looks for gameplay data. For example, the default Ninja Factions database scans for faction definitions. A saved faction can appear in the Content Browser and still be outside the folder the database searches.
Adding Primary Assets
Register a folder for faction definitions
In the Content Browser, create Content/Data/Factions. Unreal calls the project's Content folder
/Game, so this folder's asset path is/Game/Data/Factions.Open Edit → Project Settings → Game → Asset Manager → Primary Asset Types to Scan. Add an entry for
FactionSetup, or edit the existing entry for that type. SelectNinjaFactionDataAssetas the Asset Base Class.Add
/Game/Data/Factionsunder Directories. Leave Has Blueprint Classes and Is Editor Only off for these data assets. Set Cook Rule to Always Cook to include the scanned assets in packaged games. Save the settings and restart the editor.

Choose the Entries Your Plugin Uses
Use your own content folders if you already keep these assets elsewhere. Input bindings and the first Interaction switch can go straight to their plugin walkthroughs. Move a template character or interact with a nearby object.
When you need it | Primary Asset Type | Asset Base Class | Example directory |
|---|---|---|---|
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
|
Modifying DefaultGame.ini
If you manage settings in source control, the faction example corresponds to this entry in Config/DefaultGame.ini. Edit the existing scan entry if you already added it in Project Settings.
Check That Unreal Found the Asset
Create and save a faction in the registered folder as described in Give Two Actors Opposing Factions. In the editor's Output Log, run AssetManager.DumpTypeSummary. Find FactionSetup and check that its asset count includes your new faction and its scan path matches the folder. If the count is zero, compare the asset's class and location with the entry above. Use the same check with the type name for your own plugin.