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] )*

 

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.