Closed jgib332 closed 5 months ago
Thank you for your reporting!
I would like to know more about this issue.
Could you please attach a minimal project (included Assets
, Packages
and ProjectSettings
directories) that reproduces the issue?
Thanks! I found three bugs by your project.
Setting Auto Scaling to "Transform" will set my Rect Transform to a scale of (253.2, 253.2, 253.2), but the particles still do not render at the correct scale without the nested Canvas component.
This behavior is as intended. AutoScalingMode.UIParticle
or AutoScalingMode.Transform
scales to ensure a consistent display regardless of screen size changes. However, with nested canvases, a bug was causing it to be disabled.
UIParticle.transform.localScale
does not scale UIParticleAutoScalingMode.None
and ScalingMode.Local
I will fix them soon.
:tada: This issue has been resolved in version 4.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 5.0.0-preview.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Unity version: 2022.3.20f1 UI Particles version: 4.6.7
My Particle System only looks correctly scaled under a nested Canvas component.
I was attempting to create a setup where the Rect Transform of the particle parent object can be scaled to (1,1,1), and the UI Particle component scale can be set to 1.
Setting the UI Particle component Auto Scaling to "UI Particle" and the Scale to 1 will display my particles at correct scale, but only when a nested Canvas component is added to my particle parent, or if the particle parent exists as a child of an object with a nested Canvas component attached.
Steps to reproduce:
Question: Is this a bug or intended?
Setting Auto Scaling to "Transform" will set my Rect Transform to scale of (253.2, 253.2, 253.2) but the particles still do not render at correct scale without the nested Canvas component.
Setting Auto Scaling to "None" will still not display particles at correct scale, even if I set the UI Particle component Scale to 253.2.