llms.txt: machine-readable documentation index. Markdown version of this page is also available.

Ninja Bear Studio Plugins Help

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

  1. 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.

  2. 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. Select NinjaFactionDataAsset as the Asset Base Class.

  3. Add /Game/Data/Factions under 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.

FactionSetup asset type, base class, and scan directory in Project Settings

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

Bot setups

BotSetupData

NinjaBotSetupDataAsset

/Game/Data/Bots

Combat firearm definitions

FirearmData

NinjaCombatFirearmDataAsset

/Game/Data/Firearms

Factions in the asset database

FactionSetup

NinjaFactionDataAsset

/Game/Data/Factions

G.A.S. ability bundles

AbilityBundleData

NinjaGASDataAsset

/Game/Data/Abilities/Bundles

Inventory containers

InventoryContainerData

NinjaInventoryContainerDataAsset

/Game/Data/Containers

Inventory items

InventoryItemData

NinjaInventoryItemDataAsset

/Game/Data/Items

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.

[/Script/Engine.AssetManagerSettings] +PrimaryAssetTypesToScan=(PrimaryAssetType="FactionSetup",AssetBaseClass="/Script/NinjaFactions.NinjaFactionDataAsset",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/Data/Factions")),Rules=(CookRule=AlwaysCook))

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.

25 November 2026