Copyright © 2026 Unity Technologies
Missing Style Sheet reference when renaming USS file referenced in a TSS file
Reproduction steps:
1. Open the attached “IN-107902.zip” project
2. From the Project Window, navigate to TestPackage/Runtime/Resources/UIToolkit/TSS
3. Select the “MainStyle.tss”
4. In the Inspector, in the Style Sheets List, click on the plus to add a new entry
5. Click on the GameObject picker and select the “BaseStyle” Style Sheet
6. Press Apply
7. Move the TestPackage folder fully out of the project
8. Go to the Package Manager
9. Click the plus sign and select “Install package from disk”
10. Select the “package.json” from the moved TestPackage folder and install the package
11. Now navigate to Packages/UI Toolkit Bug Test/Runtime/Resources/UIToolkit/TSS
12. Select the “MainStyle.tss” and observe the Inspector
Expected result: The reference to the “BaseStyle” Style Sheet is not lost
Actual result: The reference to the “BaseStyle” Style Sheet is missing
Reproducible with: 2022.3.64f1, 6000.0.55f1, 6000.2.0f1, 6000.3.0a4
Reproducible on: Windows 10 (user reported), Windows 11
Not reproducible on: No other environment tested
Notes:
Issues you vote on will appear here