Search Issue Tracker

Fixed in Unity 2018.3

Votes

0

Found in

2018.2.0b5

Issue ID

1041877

Regression

No

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

Animation

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

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.).

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.