New drawcall added, cannot be batched
nomedy opened this issue ยท 13 comments
I have of course activated "Always Enabled" for Sprite Packer. The demo shows that there are still three drawcalls.
particleDemo.zip
When I upgraded to the latest version, the IgnoreCanvasScaler variable in the UIParticle class disappeared. What should I do if it did the scaling in Transform when it was not checked originally? @mob-sakai
Oh, sure...
I had missed that case.
I need to update to the latest version urgently. How long will it take to fix this problem?
Or try using a package with the default value of AutoScalingMode
changed to None
.
com.coffee.ui-particle-4.9.0.tgz
https://github.com/mob-sakai/ParticleEffectForUGUI/blob/main/Runtime/UIParticle.cs#L108
private AutoScalingMode m_AutoScalingMode = AutoScalingMode.Transform;
->
private AutoScalingMode m_AutoScalingMode = AutoScalingMode.None;
It is not an ideal solution. There will be many changes. Different particles may have different properties.
Does AutoScalingMode= None
fix your problem?
This method can certainly solve the problem, but it is troublesome to deal with our projects one by one.