UMG drag and drop black alpha image

Hello, ever since i started using UMG i’ve always this bug when drag and dropping items. Basically i set the Default Drag Visual to a non squared texture with alpha and this is what happens when i start dragging:

https://forums.unrealengine.com/attachment.php?attachmentid=14817&d=1413987407

The image is squared and the alpha is black, can you tell a way to fix this or at least a workaround? I’m using 4.7 release from Git. Thank you :slight_smile:

Hello xlar8or,

After looking into your issue I did a bit of digging and pulled up a known issue. I found that this has been fixed internally and that it will be included in a later release of the engine. I hope that this helps. Thank you for your time and information.

Make it a great day

Thank you Rudy :slight_smile: When you say later release do you mean i should expect it for 4.8 or on a minor version of 4.7?

Hello xlar8or,

We do not currently have any time frame for when this fix will be integrated into a release.

Hopefully it will be soon :slight_smile: Thanks again Rudy !

Hey there ! I’ve just upgraded to 4.8 and the alpha issue is solved, but it’s still squared and small in comparison to the original:

46100-drag.png

Do you know if there is a workaround for this? Right now i’m just the texture as the Default Drag Visual.

Hello xlar8or,

I was unable to reproduce this issue of the image being squared off in 4.8. I created a new widget with an image in it that I wanted to drag around. I then opened up a second widget and that I used to preform the drag and drop operation. Using the widget with the image as both the payload the the default image seemed to have worked correctly on our end.

Could you provide screen shots of the blueprints involved with this issue?

Instead of using a widget, try using a non-squared Image directly as the Default Drag Visual, that is what i am doing currently and produced the result in the image above, squared and very small.

Hello xlar8or,

I gave a non-square image a shot and I did not have any issues with the image being squared off like that in the image shown above.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, can you provide a detailed list of steps needed in order to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints that may be involved with this issue?

I will try to reproduce this in a clean project and i will let you know asap.

I did some experiments with a fresh project and on a basic setup the issues appear to be solved if i set the the Default Drag Visual as self, but in this fresh project i don’t have the complexity of my inventory system where the slots are dynamically filled with items that could have different sizes, so right now it’s hard to tell what’s going on wrong in my project. Today i had to revert my project back to 4.7 due to other issues with 4.8, but as soon as those are fixed i will try to debug it in my project to try to find a reason why it has this behavior.

After a lot of experimentation i was able to find the reason why the self as a Default Drag Visual wasn’t working, so this issue is all fixed :slight_smile: Thank you for your time, all that is missing is to fix my other issues with 4.8.