Search Issue Tracker

By Design

Votes

2

Found in

2018.1.0b6

Issue ID

1000003

Regression

No

Object can't be turned into a prefab when it has a Playable Director component with a TimelineAsset assigned

Asset - Database

-

Steps to reproduce:
1. Open Test scene from Timeline.zip project
2. Select Cube object from hierarchy
3. Try dragging cube to the Project window to make a prefab

Expected result: prefab is created
Actual result: impossible to create a prefab

Reproducible: 2017.1.3p1, 2017.2.3f1, 2017.4.1f1, 2018.1.0f2, 2018.2.0b3

Note: since Version 2018.2.0a6 prefab can't be created from an object which has Playable Director component. (even without PlayableAsset)

  1. Resolution Note (2018.3.X):

    It is only when timeline preview mode is active, it is not allowed and that is by design. To create a prefab, it is necessary to leave preview mode.

Comments (9)

  1. dingxu_snk

    Jan 31, 2023 07:03

    I found that when the object in the scene is focused, the timeline preview will be activated. So just click on other objects first, and then directly drag the playableDirector Object into Prefab.

  2. barge9

    May 26, 2020 19:04

    Thanks to YoloJero, the simple solution of unchecking preview in the timeline window worked for me!

  3. wechat_os_Qy05rdqMO8ahQpZ8TWmpzhk-Q

    Jan 22, 2019 02:52

    add playableDirector component to a prefab instance and override it will cause unity crash.

  4. Swisscom

    Sep 11, 2018 08:59

    YOLOJERO's workaround seems to work.

    Some clarification about why this is by design would be great. This is certainly causing conflicts in our workflow not being a prefab.

  5. YoloJero

    Aug 22, 2018 10:08

    Here is the solution I just found:

    In the "Timeline" Window deactivate the "Preview" => now you can save it as prefab :)

  6. Bystander333

    Jul 13, 2018 10:15

    Not sure why this is by design as it works fine once after a restart. It's not like it's disabled by design unless you restart - that's surely a flaw not a design choice.
    E.g. Create a timeline, parent stuff to it, try to create a prefab (won't work). Restart Editor, try again, works!

    Also GTZPower, the disabled apply button seems to only be the root with the Playable Director on it. You can apply from the sub-objects just fine.

  7. CapnCromulent

    Jun 19, 2018 01:11

    Sorry, should have read more closely: why is this by design?
    In my case, the timeline is only referring to children of the object that I want to make a prefab, so everything is self-contained.
    The OP's workaround doesn't work completely, as my control-track references to sub-timelines are invalidated when the prefab is instantiated.

  8. CapnCromulent

    Jun 19, 2018 00:55

    Still an issue in 2018.1.3f1

  9. gtzpower

    May 11, 2018 15:26

    Also seeing this issue in 2017.3.1f1. I am unable to apply changes to an existing prefab with a playable assigned to the Playable Director component. Clear the playable assignment, and the "Apply" button becomes enabled.

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.