Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.6.0-pre.3
Issue ID
1333494
Regression
No
Rect Transform track references don't get removed from the .prefab file after deleting the track itself
How to reproduce:
1. Open the user's attached project
2. Open the 'Director Prefab.prefab' file in a text editor
3. Observe the entries under 'PlayableDirector' > 'm_SceneBindings'
4. Open Window > Sequencing > Timeline
5. Open the 'Director Prefab' in the Prefab mode
6. In the Hierarchy select 'Canvas' > 'Text'
7. In the Inspector remove 'Text' and 'Rect Transform' components
8. In the Hierarchy select 'Director Prefab'
9. In the Timeline window delete the Rect Transform track
10. Save the Prefab
11. Open the 'Director Prefab.prefab' file in a text editor
12. Observe the entries under 'PlayableDirector' > 'm_SceneBindings'
Expected result: The last 'm_SceneBindings' entry gets deleted
Actual result: The last 'm_SceneBindings' entry doesn't get deleted, fileID value changes to 0
Reproducible with: 2018.4.34f1, Timeline 1.4.7 (2020.2.7f1, 2020.3.7f1), 1.5.4 (2019.4.25f1, 2020.2.7f1, 2021.1.5f1), 1.6.0-pre.3 (2020.3.7f1, 2021.2.0a16)
Notes:
- The issue doesn't reproduce if instead of completing steps 6-8 you just delete the Rect Transform track
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
There is no way for Timeline to modify the Prefab if you are out of Prefab Isolation. You must go through the Prefab Overrides interface. And if you apply the overrides after removing the track, then everything goes down to zero, which is the expected result.
Additionally, in 2021.2, we have added an option to view and remove unused bindings in the PlayableDirector inspector, if you ever get to a state where the prefab still has saved bindings that are bound to nothing and you need to remove them.