Edit Asset Data with AI
First create the required DataAsset in UE and let the plugin generate its JSON, then tell the AI where the file is and what to change.
JSON File Location
JSON files are stored in the project’s Saved/AIDataAsset/ directory (configurable). Paths correspond directly to the Content Browser structure:
| Asset path in UE | JSON file path |
|---|---|
/Game/DA_Demo | Saved/AIDataAsset/Content/DA_Demo.json |
/Game/Data/Characters/DA_Warrior | Saved/AIDataAsset/Content/Data/Characters/DA_Warrior.json |
JSON Format
The CharacterStatsData asset holds character attributes. Its Details panel shows maximum health and critical hit rate.
The plugin automatically exports the same asset’s character attributes and type information:

{ "DisplayName": "", "MaxHealth": 100, "AttackDamage": 10, "MoveSpeed": 600, "CritRate": 0.15000000596046448, "NativeClass": "/Script/CoreUObject.Class'/Script/UEPluginDev.CharacterStatsData'"}Note: Field names match the UE editor display (for example,
MaxHealthrather thanmaxHealth). The fixed decimal places in float’s%.9fcannot guarantee exact round trips across its full range; double uses%.17g. Check actual fields and acceptable error after editing.
Edit Character Stats with AI
Before asking the AI to make changes, check the asset path in the Content Browser and make sure the AI will edit the JSON exported for that asset. This example changes maximum health and critical hit rate and leaves the other fields as they are.
-
Tell the AI where the data files are:
Game character data is in:D:/MyProject/Saved/AIDataAsset/Content/Read DA_Demo.json, increase MaxHealth by 20%, reduce CritRate to 0.1,then save the file. -
The AI reads JSON, modifies values, and writes the file back:
{"DisplayName": "","MaxHealth": 120,"AttackDamage": 10,"MoveSpeed": 600,"CritRate": 0.10000000149011612,"NativeClass": "/Script/CoreUObject.Class'/Script/UEPluginDev.CharacterStatsData'"} -
The plugin detects the change and imports it into the existing DataAsset: Keep the UE editor running with automatic synchronization enabled, then save JSON to see changes in the editor. The plugin next attempts checkout and asset saving. If a save warning appears, follow the log to resolve it.
What to Check After Editing
- Keep the UE editor running with automatic synchronization enabled while editing JSON. Monitoring does not run while the editor is closed; edits made then are handled at the next startup under the startup rules in Synchronize DataAssets and JSON.
- Create the UE asset first, then edit its JSON. Creating JSON alone does not create a DataAsset, and orphan JSON may be removed during startup cleanup.
- Preserve the exported JSON structure, including the sample’s
NativeClassfield. It describes exported type information. Current import finds an existing asset by the JSON path rather than using this field to create one. Changing it cannot make the plugin generate a new asset type. - Invalid JSON or asset field-structure changes may cause import to fail. Check logs and actual asset contents after editing, and test in UE. Synchronization does not replace game-rule validation.
Common situations. If JSON is not updating, check that automatic synchronization is enabled, the editor is running, and the path corresponds to an existing asset. If asset values changed but a save warning appeared, check file write access and version-control checkout status before saving. JSON not regenerating immediately after deletion follows the deletion rules in the synchronization guide; it does not mean the UE asset was deleted.
