Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/IRigVMEditorAssetInterface
Description
[GuidDedupe] One-shot recovery for the corrupted-state where two member variables in the bag ended up with identical FGuids (a real bug: AddHostMemberVariableFromExternal used to accept whatever Guid the caller passed, so duplicate-paste of a variable carried the source's Guid forward). Detect duplicates, regenerate Guids on later occurrences, and rewrite any variable node that was pointing at the now-old Guid for the regenerated variable. The Guid is the ground truth of variable identity; variable Name is used here ONLY as the disambiguator at the point of corruption (i.e. "of the nodes referencing the duplicate Guid,
the ones whose Name pin equals the regenerated variable's name belonged to that variable"). Idempotent: detection scans (a TSet
| Name | RepairDuplicateVariableGuidsOnLoad |
| Type | function |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMEditorAsset.h |
| Include Path | #include "RigVMEditorAsset.h" |
| Source | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Private/RigVMEditorAsset.cpp |
virtual void RepairDuplicateVariableGuidsOnLoad()