Search Issue Tracker
Fixed in 2017.2.0f3
Votes
0
Found in
2017.2.0b4
Issue ID
933616
Regression
No
NullReferenceException error appears after undoing deletion of object which had Playable Director with Timeline asset
To reproduce:
1. Create new project.
2. In hierarchy create Cube. (or any other object)
3. Add "Playable Director" component.
4. Open Timeline window, and Create Timeline asset.
5. Delete Cube in hierarchy.
6. Undo.
Expected result: No error.
Actual result: Error appears:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Timeline.TimelineWindow+TimelineState.RebindAnimators () (at C:/buildslave/unity/build/Extensions/Timeline/Editor/Window/TimelineState.cs:978)
UnityEditor.Timeline.TimelineWindow.OnUndoRedo () (at C:/buildslave/unity/build/Extensions/Timeline/Editor/Window/TimelineWindow_EditorCallbacks.cs:107)
UnityEditor.Undo.Internal_CallUndoRedoPerformed () (at C:/buildslave/unity/build/artifacts/generated/common/editor/UndoBindings.gen.cs:205)
Reproducible: 2017.1.0p1, 2017.2.0b4, 2017.3.0a1
Notes:
Will not reproduce if project was closed and reopened, unless a new Timeline asset is assigned to the PlayableDirector.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Add comment