mob-sakai / mob-sakai/ParticleEffectForUGUI
I wonder how to optimize this fantastic plugin?
Open
@mob-sakai is already working on this.
Since Feb 27, 2025.
question
- Dominant language
- C#
- Stars
- 6k
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
Throughing profiler,the UIParticleRenderer.UpdateMesh() costs a lot,with Combine Mesh,Bake Mesh and Update Animatable Material Properties and so on.
Though when using little amount UIParticle,it seems good and works well.However,when there is too much UIParticle in one canvas and,with many Particle System in Rendering Order(about 5-10),it runs slow!It costs about 50-70ms per frame.
I'm trying to seek into the code deeply but,it is hard to optimize for every piece of code has its purpose.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.