Console commands and CVars for debugging layout, constraints, collision, and persistence. Use in the editor console (tilde key) during PIE.
Console commands
Requires PIE (Play In Editor). Type in the console.
- UniversalFloatingWidget.ClearSlots
- Clear all layout slots and persist. Use when slots are corrupted or for a fresh start.
- UniversalFloatingWidget.LoadDefault
- Reset all panels to designer default positions.
CVars
Set in console: UniversalFloatingWidget.ConstraintDebugVisual 1. Use 0 to disable.
- ClampDebug
- 0=off, 1=log when position is clamped to keep widget on screen.
- ResizeHandleDebug
- 0=off, 1=draw corner zones (green) and edge zones (orange) on floating panels.
- ConstraintDebug
- 0=off, 1=log drag/clamp/collision, 2=verbose (every frame), 3=full dump (viewport, bounds, grab point, blockers, coords).
- ConstraintDebugVisual
- 0=off, 1=draw safe zone, desired/final position, collision bounds when dragging.
- CollisionDebug
- 0=off, 1=visual: desired pos (red), final pos (blue), grab point (yellow), blockers (orange), quadrant lines, chosen slide edge (green).
- SnapDebug
- 0=off, 1=log when snapping (edge/corner), 2=visual: snap target (cyan when snapped), magenta corner markers.
- CollisionLog
- 0=off, 1=full collision diagnostic: drag start (anchors/alignment), anchor changes, collision events, resize collision.
- LayoutPersistenceDebug
- 0=off, 1=verbose save/load/init flow. Default 1.
- DefaultLayoutDebug
- 0=off, 1=log capture (Position/Size/AnchorZone/Alignment/EdgeSnapFlags), 2=log restore (Entry + computed values), 3=both.
Log category
LogUniversalFloatingWidget. Enable in Output Log or via Project Settings → Engine → General Settings → Logging.