Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.2.0b5

Issue ID

1041877

Regression

No

Crash when passing null reference instead of Animator to AnimationPlayableUtilities::Play

Animation

-

How to reproduce:
1. Open any project
2. Attach the "Crash.cs" script to any Game Object
3. Play the scene

Expected result: Editor should warn about possible NullReferenceException and prevent entering the Play mode
Actual result: Editor crashes on AnimationPlayableGraphExtensionsBindings::InternalSyncUpdateAndTimeMode

Reproducible with - 2017.1.4f1, 2017.2.3p1, 2017.4.4f1, 2018.1.2f1, 2018.2.0b6

Note: Issue occurs with other AnimationPlayableUtilities play methods as well (PlayClip, PlayMixer, etc.).

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.