Search Issue Tracker
Fixed
Votes
4
Found in
5.2.0b1
Issue ID
710458
Regression
No
[Performance][SkinnedMesh] (Rendering.UpdateDirtyRenderers) Skinned mesh renderers cost lots of cpu power
After few tests I found out the more skinned mesh renderers you have the more method Rendering.UpdateDirtyRenderers cost your cpu power.
Project Steps:
1. Open scene "Test". Scene contains 270*6 objects and only 270 of them are visible.
2. Open profile and find Rendering.UpdateDirtyRenderers (Its probably in the top).
So, excluding vsync, this method every frame takes more then half my cpu power.
I noticed that this behaviour is not regression and it leads to believe that its by design. But if you ask me its extremly unoptimaized, there is no screen cullling for this method => The more skinned mesh renderers you have in the scene the more this method will consume your cpu. Also naming is quite confusing because UpdateDirty shouldn't be called every frame, so atleast rename it to Rendering.UpdateRenderers, because not it acts like that.
Any way, if its intended could you explain the behaviour behind thie method?
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
- “… is using a shader without GPU deformation support. Switching the renderer over to CPU deformation.” warnings are logged when GPU Skinning is set to GPU
- "Material '...' has _TexelSize / _ST texture properties which are not supported by 2D SRP Batcher...” warning is logged when the Shader is SRB Batcher compatible
- Crash on EnsureUniqueSiblingName when calling GameObjectUtility.EnsureUniqueNameForSibling() with a null argument
- Changes are not applied when selecting Platform settings for Plugins
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
Yarogleck
Sep 05, 2015 13:42
I've also noticed this