Search Issue Tracker

Not Reproducible

Votes

0

Found in

2018.3.0a4

2018.4

2018.4.23f1

Issue ID

1249229

Regression

Yes

[Other] NullReferenceException errors are being thrown when switching to other platform

Animation

-

How to reproduce:
1. Create a new project
2. Switch to any other platform

Expected result: No NullReferenceExceptions are being thrown
Actual result: Few NullReferenceException errors are being thrown

Reproducible with: 2018.3.0a6, 2018.4.24f1
Not reproducible with: 2018.3.0a5, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16

Full error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditorInternal.AnimationWindowControl.GetAnimationModeDriver () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:486)
UnityEditorInternal.AnimationWindowControl.StopPreview () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:376)
UnityEditorInternal.AnimationWindowControl.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowControl.cs:105)
UnityEditorInternal.AnimationWindowState.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowState.cs:315)
UnityEditor.AnimEditor.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimEditor.cs:349)

Notes:
- Tested with WebGL, iOS, and UWP

  1. Resolution Note (2021.1.X):

    We could not reproduce on 2019 onwards so we are closing this issue

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.