Search Issue Tracker

Fixed in 5.4.0

Votes

2

Found in

5.0.2f1

Issue ID

699102

Regression

No

[Events] Animation Event performance degrades depending on amount of components on animated object

Animation

-

How to reproduce:

1. Open attached project
2. Open scene animationEvents.unity
- Scene contains about 400 animated characters that each fire an Animation Event every time one of their feet hits the ground
3. Play the scene
4. Open the Profiler Window
- Notice that the performance is consistently smooth
5. Click the "Add 5 more empty script components to each person" button
- Note how the empty scripts introduce performance spikes each time the characters feet hit the ground
- Clicking the button more times increases the number of components on each character

Add comment

Log in to post comment