UMG Retainer Box with Color Deficiency

Hello, we noticed a visual difference with the content inside a retainer box, only when using Color deficiency. We expect to be the same as without Color deficiency. Could you confirm it is an engine issue, and point us where the issue would come from?

As we see in the repro project, this is how it looks without Color deficiency

[Image Removed]

With Color deficiency. In this example, it uses Deuteranope, severity 10, but all have the same issue

[Image Removed]

Thank you!

Steps to Reproduce
1) Open level BugRetainerColor

2) Play in editor

3) Notice right side (using retainer) of UI being darker then left side (no retainer)

Hello [mention removed]​,

Could you please try setting the Phase to 1 in the Retainer Box and confirm if this resolves the issue? It appears that the color deficiency effect is applied earlier in the rendering pipeline, and since the default Phase is set to 0, it might cause conflicts with how the Retainer Box is rendered.

[Image Removed]

Please let me know.

Best,

Francisco

Hello Francisco, thank you for the quick reply. It seems the solution of setting Phase to 1 only works if the Color deficiency is apply after the UMG is created. It unfortunately cannot be used as a workaround in our case

I joined the updated sample project with the Color deficiency being applied at the begin play, before creating the UMG, and the Phase setted to 1. We can see in this case that the solution would not work

Let me know if there is other possible solutions. Thank you!

Hello [mention removed]​,

Thanks for sharing the updated project and details. Unfortunately, this does appear to be unintended behavior: when Retain Render is enabled, the Retainer Box performs off-screen rendering and the Color Vision Deficiency effect isn’t consistently applied. I’ve confirmed the same behavior in a recent source build from the main engine P4 stream, so it does persist in the latest code. I’ll be reporting this as an engine bug so the team can handle this issue.

As a temporary workaround, you can set Retain Render = false on the Retainer Box. The trade-off is that you lose the Retainer Box’s caching and phase-based redraw features. I’ll keep you updated once there’s progress on the reported issue.

Best,

Francisco

Thank you for the answer! Yes, please let us know the progress of the issue

Hello [mention removed]

I’ve registered this issue as an engine bug and added it to the Unreal issue tracker. You can track the resolution through the following link: Unreal Engine Issues and Bug Tracker (UE\-315856)

Please note that Epic ultimately determines whether the issue will be made publicly accessible and the process may take a few days. The tracking link might not work immediately.

I’ll go ahead and close the case now but feel free to reply if you have anything else to add.

Best,

Francisco