my UMG menu is now semi-transparent. how did i do this?

Hey, somehow i have turned on some kind of ‘ghosting’ mode, so now when i run my game all of the buttons and images are all semi transparent. I have looked everywhere and i have no idea how this has happened…

anyone have a thought?

thanks,
Sam

The first thing I’d check is the Content Color and Opacity of panels hosting the misbehaving widgets:

This border dictates how stuff inside looks like.

thanks for help, but dont think this is issue. everything is set to 1 1 1 1


Check Construct script, check function binding. Check Render Opacity settings of the affected elements ← especially the canvases.

everything is set to 1 1 1 1

Where, of what, do you mean the image? I don’t think you have a panel that can color the image anywhere.


But hold on, it looks fine in the Designer and only gets washed out when you PIE?

yes is fine in the designer - something happens when i press play

Check the Begin Play and Construction Scripts events of actors. Check if you are adding any other widgets to the screen, perhaps there’s a sneak overlay you forgot about. Use the Widget Reflector - it could help here.

image

Start picking widgets, PIE, mouse over stuff, see what the cursor is hitting in the list below.

thanks for the tip…

‘selfHitTestInvisible’?? is this relevant?

Not. It’s just an indication that the widget cannot be hit - interacted with but does not force it on all children.

What do you get when you mouse over the see-through widget while in game?

it only gives me the whole game window and keeps selecting this from the widget reflector

Looks fine, is the Render Opacity of the inner canvas also set to 1?

  • do you have any script that changes opacity / colour of any of the widget elements you have? Bound functions?
  • is this widget added via a widget component or do you create widget → add to viewport?

yep

i guess i could start removing things until something changes to find the evil one

Just to clarify:

The entire thing is transparent and you can see the 3d world behind it?

i guess i could start removing things until something changes to find the evil one

Mhm. Sounds more and more reasonable at this point. Do tell what you find out.

the widgets are created at runtime and added into the various panels. This was all working find a few days ago.

Ye basically every component including the big map image in the canvas seems to be semi transparent. because even the map looks dim.

ill let you know what i find

ok months later i returned to this - i eventually found that it was something with the canvas panel the widgets were in. I swapped out the canvas panel and all the semitransparency went back to solid.

i have no idea why, because i checked and compared the old and new canvas panel in settings and they were identical. So weird and frustrating. So solution was to just replace panels one by one with new panels

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.