Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.3.2p1
Issue ID
768490
Regression
No
AnimatorControllerPlayable.PrepareFrame is called on culled animators
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
DominikAbe
Dec 21, 2016 14:40
Regression 5.4.2f2 has this bug again
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.