SimpleBPInheritFixDocumentation

Repair Inherited Components

Run the Repair

  1. Install the plugin and confirm it compiles.
  2. In the Content Browser, right-click an affected Actor Blueprint and choose Component Repair → Fix Inheritance Pollution.
  3. Filter the Output Log by LogSBIF and check the scan scope, checkout, and repairs.
  4. Review the affected files in the save dialog, then save the Blueprints marked dirty.

Review and Save the Repair

The Blueprint you select is the starting point. Parent or child assets can also appear in the save list. Match those assets against the repair and dirty entries in the log.

Collect the inheritance chain and identify affected components before checkout, field updates, and saving.

StageAction
1. GatherChainCollect parents, the current Blueprint, and descendants
2. ScanChainScan each Blueprint’s SCS and ICH for CreationMethod=Instance records
3. CheckOutFindingsCheck out the affected uasset files through source control
4. ApplyFindingsChange CreationMethod from Instance to SimpleConstructionScript
5. MarkDirtyMark changed Blueprints dirty and prompt the user to save manually

For example, a repair started from a child Blueprint can list the modified parent:

[SBIF] ==============================================
[SBIF] Fix Inheritance Pollution started (anchor: BP_MyActor)
[SBIF] ==============================================
[SBIF] -------- Stage 1 / Gather Inheritance Chain --------
[SBIF] Self: BP_MyActor
[SBIF] Ancestor: BP_BaseActor
[SBIF] Descendant: BP_MyActorExt
[SBIF] Total 3 blueprints (ancestors+self 2 / descendants 1)
[SBIF] -------- Stage 2 / Scan Instance-corrupted Nodes --------
[SBIF] [BP_BaseActor / SCS] 'MeshComp' (Template=MeshComp_GEN_VARIABLE)
[SBIF] Scan complete: 1 Instance-corrupted nodes total
[SBIF] -------- Stage 3 / SourceControl CheckOut --------
[SBIF] ✅ [BP_BaseActor] /Content/BP_BaseActor.uasset
[SBIF] -------- Stage 4 / Repair CreationMethod --------
[SBIF] [BP_BaseActor / SCS] 'MeshComp' Instance -> SimpleConstructionScript
[SBIF] -------- Stage 5 / Mark Blueprints Dirty --------
[SBIF] Dirty: BP_BaseActor
[SBIF] 1 blueprints marked dirty, manual save required

Repair Scope

The repair only changes CreationMethod on affected templates from Instance to SimpleConstructionScript. It excludes components created dynamically in Construction Script and unrelated Blueprint issues. Before saving, review the affected components and the files checked out by the tool.

Troubleshoot Repair Results

Start with LogSBIF to check scan results and checkout status.

The Scan Finds No Issues

A result of zero may indicate an issue outside the tool’s scope. Check the full LogSBIF output to see which Blueprints and component records were scanned.

Checkout Fails

The plugin still repairs the Blueprint in memory when checkout fails. Check for an existing lock, server reachability, and workspace mappings. If manual checkout is needed, use p4 edit, git lfs lock, or svn lock as appropriate, then save in UE.

Checkout by Source Control Provider

  • Git: Checkout is essentially a no-op because files are already writable
  • Git LFS: Automatically requests an LFS lock
  • SVN: Runs svn lock
  • No source control: Skips checkout entirely and proceeds to repair

Interface Language

Open Edit → Project Settings, go to SimpleBPInheritFix settings, and set Language to English or Chinese. English is the default. User-facing interfaces, prompts, notifications, and functional logs update immediately without restarting the editor; public API names and module startup/shutdown logs always remain in English.