Search Issue Tracker
Fixed
Fixed in 2020.3.46f1, 2021.3.20f1, 2022.2.X, 2023.1.0a3
Votes
2
Found in
2020.3.35f1
2021.3.5f1
2022.2.0a17
2023.1.0a1
Issue ID
UUM-3527
Regression
No
Color set through CanvasRenderer.SetColor is reset when CanvasRenderer becomes inactive
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. Press the Play button
4. In the Game view, click each button in the noted order (Set Color, Disable, Enable)
5. Observe the text in the middle of the Game view
Expected result: white text "Correct" shows up on a red background
Actual result: red text "Incorrect" shows up on a white background
Reproducible with: 2019.4.34f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0b4, 2022.2.0a2
Comments (1)
-
doseon
Oct 18, 2022 06:17
Same issue in 2021.3.11f1.
I want it fixed.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 2023.1.0a3):
Fixed in 2023.1.0a3
Removed the color reset in the CanvasRenderer when a uGUI element is disabled, so the color stays when the element is enabled again.