Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.0b10
Issue ID
UUM-45690
Regression
Yes
Buttons on the Tracks of a Timeline are not visible when opening the project
How to reproduce:
1. Open the “IN-44553_repro.zip“ project
2. Open the “New Timeline“ asset
3. Observe the Animation Track
Expected result: Buttons are seen on the Animation Track
Actual result: Buttons are not seen on the Animation Track
Reproducible with: 1.7.2 (2022.2.0b10), 1.7.5 (2022.3.6f1), 1.8.2 (2023.1.7f1), 1.8.4 (2023.2.0b3)
Not reproducible with: 1.6.5 (2021.3.29f1), 1.7.2 (2022.2.0b9)
Reproducible on: Windows 10, Windows 11
Workaround: Remove the Library folder before opening the project or Reload Domain after opening the project
*See comments for a detailed breakdown of my investigation for this bug (from [~julienb] )*
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
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
Resolution Note:
Hi,
The reason this issue occurs is because the StyleSheets are loaded in too early as a consequence of the InitializeOnLoad attribute in GlobalToolbarHiding.cs.
Unfortunately we do not support asset loading for InitializeOnLoad because it can lead to problems.
You can find out more about it in the documentation here:
https://docs.unity3d.com/ScriptReference/InitializeOnLoadAttribute.html
As a workaround, AssetPostprocessor.OnPostProcessAllAssets can be used to achieve a similar effect.