Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.3.X
Votes
0
Found in
2017.2.0b9
Issue ID
946080
Regression
Yes
NullReferenceException errors when in Playmode, after removing Animation from Timeline and recording a new clip
To reproduce:
1. Open "Test" scene from the attached project "STW_Testing.zip"
2. Select "Cube" in hierarchy.
3. In Timeline, Record a new animation.
4. Convert to clip track.
5. Select Recorded clip.
6. Enter Playmode, and exit Playmode.
7. Delete previously created clip from the Timeline.
8. Enter Playmode.
Actual result: NullReferenceException error appears.
Expected result: No errors.
Reproducible: 2017.2.0b9, 2017.3.0a5, 2017.3.0a6
Not Reproducible: 2017.1.1f1, 2017.2.0b8, 2017.3.0a4
Full error message:
NullReferenceException: (null)
UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) (at C:/buildslave/unity/build/Editor/Mono/SerializedObject.cs:26)
UnityEditor.Editor.GetSerializedObjectInternal () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:193)
UnityEditor.Editor.get_serializedObject () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:185)
UnityEditor.Timeline.AnimationPlayableAssetInspector.OnEnable () (at C:/buildslave/unity/build/Extensions/Timeline/Editor/inspectors/AnimationPlayableAssetInspector.cs:151)
Comments (2)
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
feds
Dec 06, 2017 15:33
Same for me, have you managed to fix it?
FlorianPretty
Oct 13, 2017 09:39
Still occurs in the 2017.2.0f3 version