When FLinearColor is used inside slate code, the third vector value is ignored. This causes FLinearColor(1,1,1) to produce the same color as FLinearColor(1,1,0). This also causes FLinearColor::Blue to appear black instead (b/c FLinearColor(0,0,1) is the same as FLinearColor(0,0,0) ).

This has only reproduced in slate code. Using the code (or BP node) for Print string, which also takes an FLinearColor, will correctly display blue.

Steps to Reproduce
  1. Download and open attached project
  2. Open DebugBarsWidget.cpp
    • Note the comments on lines 101, 121, and 141 where color is set
  3. Open project and PIE

Colors in the widget are Red (set at line 101) Green (line 121) and Black (line 141)

Colors show as Magenta, Cyan, and Blue.

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

Login to Vote

ComponentTools - Slate
Affects Versions4.14.34.15
CreatedJan 17, 2017
ResolvedJan 17, 2017
UpdatedApr 27, 2018