Search Issue Tracker

Fixed in 5.4.0

Votes

0

Found in

5.4.0b6

Issue ID

771028

Regression

No

Unity crashes when calling AnimationClip.AddEvent with null argument

Animation

-

Add these two lines in the Start method of a script attached to a gameobject in your current scene and press Play. Unity will crash!

AnimationClip ac = new AnimationClip();
ac.AddEvent((AnimationEvent)null);

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.