Search Issue Tracker
By Design
Votes
0
Found in
2019.2
2019.2.0b6
Issue ID
1165581
Regression
No
Control Track fails to sample animation keyframes inside its controlling director in Runtime only
How to reproduce:
1. Open the user-submitted project ("ControlActivationNotRevert.zip")
2. While the TImeline Window is opened click on the "PD" object in the Hierarchy Window
3. Observe the preview in the Scene Window (The button is white)
4. Enter Play Mode and observe the animation again (The button is black)
Expected result: the button is animated to have it's image color to be white in play mode just like in the edit mode
Actual result: the button is not animated when in play mode and stays black
Reproduced in: 2019.3.0a8, 2019.2.0b8
Couldn't test with: 2019.1.8f1, 2018.4.3f1, 2017.4.28f1 (Due to the timeline package issues)
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
- [UWP] Mouse movement re-triggers stale <Mouse>/scroll value after the scroll wheel is used once
- "Shutdown worker was forced killed because it kept running. Worker ..." errors are thrown after building a blank HDRP project
- [UI Toolkit] USS materials in AssetBundles break due to InstanceID referencing a material that no longer exists when a Scene is loaded through Addressables for the second time
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
- Scene dependency changes do not trigger a scene re-hash during Content Archives build
Resolution Note (2019.3.X):
Debugged what is going on, and its behaving as expected, although that is definitely not obvious.
- there is an animator controller attached to the canvas, which when constantly write default values (by design).
- the nested timeline is 1 frame long, and does not have any extrapolation modes set.
The nest control track may or may not get run dependent on start delay. The color value is getting overwritten by the controller.
This doesn't happen in editor, because the controller is never previewed.
Two potential solutions here. Set the playable director on the canvas to 'Hold'. Or remove the animator controller. Both will cause the button to go white in playmode.
The editor will show 'HOLD' on the control clip, but whether it holds or completes is dependent on the ExtrapolationMode of the playable director being controlled.