I can't get a container inventory to open... ever... god help my soul

I have been trying to find a way to make a system that allows the player to open the inventory of a nearby container by being near it and opening your inventory (kinda like the terraria). but the widget refuses to ever be seen.

this BP is apart of a character BP, this piece well for getting the “hotbar” to work but the attached code that involves making the container inventory visible. I can’t progress making this work if the widget refuses to even be visible. I am using what worked for the “hotbar” widget that work… but not with the container widget. (yes both prints do go off successfully)

On the Add to Player Screen node, try clicking teh tiny arrow at bottom to expand it, and bump the Z Order up. If you already have widgets on the screen, UMG might just be burying/culling it. I’ve had a problem like that where an option menu would never display until I bumped the Z Order up to like 6.

if both prints fire the logic runs, so its created but never drawn. check these:

  1. visibility defaults to Collapsed in designer. after AddToViewport call SetVisibility Visible, then print GetVisibility + IsInViewport to confirm
    1. parent slot has 0 size. inside a canvas with bad anchors the widget exists at 0x0 and looks invisible
      1. bump ZOrder on AddToViewport, umg buries it under the hotbar if you already have widgets up
    2. quick test: after add do Delay 1s then print IsInViewport and GetDesiredSize. size 0 = layout issue, not in viewport = add path issue.