Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.3.0f1

2020.1

Issue ID

1204106

Regression

No

[PlayableGraph] Playable animations not playing immediately in the Editor Mode

Animation

-

Steps to reproduce:
1. Open the provided project "case_1204106-PlayableGraph.zip"
2. Open "SampleScene" Scene
3. Select "Cube" Prefab in the Hierarchy window
4. In the Inspector window press the "Initialise" button

Expected results: animation is played immediately after pressing the "Initialise" button
Actual results: animation is not played immediately after pressing the "Initialise" button

Reproducible with: 2019.3.0f1, 2019.3.0f2, 2020.1.0a16
Not reproducible with: 2018.4.14f1, 2019.2.16f1, 2019.3.0b12
Could not test with 2017.4.35f1 due to animation not working entirely in Editor Mode

Notes:
-PlayableGraph animations play instantly when in Play Mode
-Minimizing Unity and opening it again often resumes the animation

  1. Resolution Note (2020.1.X):

    The user needs to add `EditorUtility.SetDirty(target);` in the `OnInspectorGUI` method to mark the object as dirty. Previously there was a bug with render settings that were always dirtying the scene each frame, but that was causing some serious performance issues and was a bug.

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.