unbind_widget_from_viewmodel
Remove an MVVM viewmodel binding from a Widget Blueprint's authoring state by binding index or GUID; already-absent removals succeed idempotently.
Instructions
Remove an FMVVMBlueprintViewBinding from a Widget BP's MVVM authoring state, by index (primary) or binding GUID. Inverse of bind_widget_to_viewmodel; idempotent (already-absent is an honest success).
Returns: { widget_blueprint_name, binding_index?, binding_id?, already_existed, removed, binding_count, has_mvvm_extension, saved, save_error? }
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. | |
| binding_id | No | optional GUID string of the binding to remove (alternative to binding_index) | |
| binding_index | No | int index of the binding to remove (primary identifier; one of binding_index / binding_id required) | |
| widget_blueprint_name | Yes | /Game path of the Widget Blueprint asset |