Search Issue Tracker

Fixed in Unity 5.4.0

Votes

0

Found in

5.3.2p1

Issue ID

768490

Regression

No

AnimatorControllerPlayable.PrepareFrame is called on culled animators

Animation

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 2Core functionality majorly impacted

Steps to reproduce:

1. Open attached project
2. Open scene "Scene"
3. In hierarchy, expand Audience and notice that there are 400~ objects with their Animators set to "Cull Completely"
3. Open Profiler and enabled profiling
4. Run scene and, in profiler, find AnimatorControllerPlayable.PrepareFrame
5. Notice that there are 400 calls of PrepareFrame but only less than 20 objects are visible

Reproduced with: 5.2.4p1, 5.3.2p2, 5.4.0b5

Comments (2)

  1. 4e3acd0d51f160bdbb54d0e10c3c9509?d=mm

    DominikAbe

    Dec 21, 2016 14:40

    Regression 5.4.2f2 has this bug again

  2. 2f03f355c6d8c84a829207fcaec1beae?d=mm

    Le nain

    Mar 17, 2016 08:17

    Could this be the same cause as this issue I stumbled upon yesterday?
    http://forum.unity3d.com/threads/5-3-0-animator-culling-cull-completely-not-working-until-go-is-seen-once.392081/
    It's basically that nothing is culled UNTIL their renderers have been seen once by a camera and THEN went outside the view frustum.

All about bugs

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