Unity Issue Tracker - Missing Style Sheet reference when renaming USS file referenced in a TSS file
Open
UUM-128489
Missing Style Sheet reference when renaming USS file referenced in a TSS file
Unity: UI Toolkit Authoring Framework
Open
6.6.X
6.5.X
6.4.X
6.3.X
6.0.X
In Progress
6.7.X
6000.7.0a2
Won't Fix
6.2.X
Unity 6000.2 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
Reproduction steps:
1. Open the attached “UIToolkitIssue.zip” project
2. In the Project window, navigate to the Editor folder
3. Select the “UnityDefaultRuntimeTheme.tss” TSS asset
4. In the Inspector, observe the referenced Style Sheet
5. Rename the referenced Style Sheet from the Project window
6. Observe the Console and the reference in the Inspector
Expected result: No warning and the Style Sheet reference remains
Actual result: “Invalid asset path:” warning, and the Style Sheet reference is missing