Copyright © 2026 Unity Technologies
Fixed the old theme not being removed from the list of documentElement's stylesheet when changing the current theme.
Port canceled as we transition to 2022.2 (2022.2.X port is active or already resolved)
Ensure the old theme is removed from the list of stylesheets applied to the canvas when changing the current theme.
How to reproduce:
Expected result: all text is rendered as it was before
Actual result: all the UI text is invisible
Reproducible with: 2021.3.6f1, 2022.1.10f1, 2022.2.0b3, 2023.1.0a4
Could not test with: 2020.3.37f1 (UI documents could not be loaded)
Reproducible on: MacOS 12.4, Ubuntu 20.04, Windows 10
Notes:
Issues you vote on will appear here