mob-sakai / mob-sakai/ParticleEffectForUGUI

I wonder how to optimize this fantastic plugin?

Open
#358 5 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.