Skip to content

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 OnComponentCreated and OnRegister to 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 LogTemp entries in BeginPlay and EndPlay to report world/netmode/actor pointer, and registration/unregistration state with UMapTrackerComponent.
  • Plugins/JourneymanMiniMap/Source/MinimapPlugin/Private/MapViewComponent.cpp
  • Added LogTemp entries in BeginPlay and EndPlay to report world/owner/pointer, and to confirm tracker binding and background count.
  • Plugins/JourneymanMiniMap/Source/MinimapPlugin/Private/MapFunctionLibrary.cpp
  • Added LogTemp entries in DeactivateMinimapWidget / ReactivateMinimapWidget to 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.uplugin must manually add "Linux" under PlatformAllowedList.

Revert

To revert, remove the UE_LOG(LogTemp, Log, "[MinimapDebug] ...") blocks in the files above and restore the original MapIconComponent debug behavior (if desired).