Minimap Plugin Debug Changes (for revert)¶
This file documents temporary debug-only changes made to the JourneymanMiniMap plugin so they can be reverted cleanly later.
Files changed¶
Plugins/JourneymanMiniMap/Source/MinimapPlugin/Private/MapIconComponent.cpp- Added debug logs in
OnComponentCreatedandOnRegisterto report duplicate creation, owner/world/netmode/role/creation method, and to dump a stack trace for simulated proxies. Plugins/JourneymanMiniMap/Source/MinimapPlugin/Private/MapBackground.cpp- Added
LogTempentries inBeginPlayandEndPlayto report world/netmode/actor pointer, and registration/unregistration state withUMapTrackerComponent. Plugins/JourneymanMiniMap/Source/MinimapPlugin/Private/MapViewComponent.cpp- Added
LogTempentries inBeginPlayandEndPlayto report world/owner/pointer, and to confirm tracker binding and background count. Plugins/JourneymanMiniMap/Source/MinimapPlugin/Private/MapFunctionLibrary.cpp- Added
LogTempentries inDeactivateMinimapWidget/ReactivateMinimapWidgetto log widget instance pointer, world/netmode, in-viewport state, and tracker counts.
Purpose¶
These logs help detect stale minimap widgets and map background registration across travel steps by correlating world ownership and lifecycle events.
Latest observation (2026-02-03)
- Accessed None bursts in MinimapInternal_Background_C align with widget reactivation
and missing backgrounds (House) or immediate post-reactivation windows (Battle),
suggesting a rebind-before-ready timing issue rather than leaked widgets.
Build note¶
Plugins/JourneymanMiniMap/MinimapPlugin.upluginmust manually add"Linux"underPlatformAllowedList.
Revert¶
To revert, remove the UE_LOG(LogTemp, Log, "[MinimapDebug] ...") blocks in the files above
and restore the original MapIconComponent debug behavior (if desired).