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
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)
-
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.
-
barge9
May 26, 2020 19:04
Thanks to YoloJero, the simple solution of unchecking preview in the timeline window worked for me!
-
wechat_os_Qy05rdqMO8ahQpZ8TWmpzhk-Q
Jan 22, 2019 02:52
add playableDirector component to a prefab instance and override it will cause unity crash.
-
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.
-
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 :)
-
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.
-
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. -
CapnCromulent
Jun 19, 2018 00:55
Still an issue in 2018.1.3f1
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
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.