I have a minimap UI and am adding a player icon widget as a child of the map overlay when the map ui is constructed. I am trying to add points of interest (POI) to the minimap, but it does not seem to work from the POI component the actors. It adds them, but underneath the minimap. If I add the POI right after the player icon, by just looping through all the actors I want, it works fine, the overlay is on top, but the same function called from the component places that overlay on the bottom of the stack, so it is not visible.
Here is the POI component that the actor in question has:
Here is the AddPOI function from the minimap UIHere is the minimap blueprint, showing the brute force add that does work, calling the same function as the component, which does not.
I’ve checked that the map overlay is accessible, is valid, and know it is adding underneath the map via component add (made the icon really big so I could see it peeking on the edge)
When I print the stack from the minimap, it looks the same whether I add it via the component, or the minimap event construct:
LogBlueprintUserMessages: [Minimap] map
LogBlueprintUserMessages: [Minimap] PlayerIcon_C_0
LogBlueprintUserMessages: [Minimap] POIWidget_C_0
Also tried switching to Event On Initialized, with no luck.
Version: Unreal 4.25.1