create_functional_test
Create a Blueprint subclass of AFunctionalTest to set up scriptable, multiplayer-friendly functional tests in Unreal Engine 5. Then save the asset.
Instructions
Create a Blueprint subclass of AFunctionalTest (the canonical UE pattern for a multiplayer-friendly, Blueprint-scriptable test actor) and save it.
Returns: { asset_name, asset_path, package_class, parent_class, already_existed, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Optional. This command is REFUSED while a Play-in-Editor session is running: it either compiles a Blueprint (the reinstancer can retain a world, and CheckForWorldGCLeaks is Fatal -- it KILLS the editor) or writes to disk (Editor.AllowSavingAssetsDuringPIE=0 makes the engine refuse the write, so it would report success without writing a byte). Stop PIE and retry instead; force=true runs it anyway, at your own risk. | |
| asset_name | Yes | Name for the new Functional Test BP asset. | |
| package_path | No | Target content folder; defaults to /Game/MCP. | |
| parent_class | No | Optional AFunctionalTest-derivative parent (default "FunctionalTest"). |