Reproduction Steps
Currently, as of 4/18/22
, the Color3 hex conversion methods (such as <Color3>:ToHex()
will randomly throw errors due to web failures with fetching their associated FFlags.
There is no way to reliably reproduce this, but I have been seeing this error popping up in my error analytics:
Color3 hex conversion methods have not been enabled
Players.[Player].PlayerScripts.Controllers.RoundController.Round_UI line 141 - function ShowSectionName
Players.[Player].PlayerScripts.Modules.Rounds.Classic line 432
The line that errors in question looks like this:
UI.SectionName.TextLabel.Text = ('<i><font color="rgb(255,255,255)">%s</font><font color="#%s">[%s]</font></i>')
:format(
SectionName,DifficultyColor:ToHex(),SectionDifficulty
)
Expected Behavior
It is expected that <Color3>:ToHex()
would not arbitrarily fail due to it being tied to a FFlag.
Actual Behavior
<Color3>:ToHex()
can randomly spit errors due to it failing to read its associated FFlag value.
Workaround
None
Issue Area: Engine
Issue Type: Other
Impact: High
Frequency: Constantly
Date First Experienced: 2022-04-18 00:04:00 (-04:00)