Comments (5)
Hi,
That allows me to change the scale again, so that's perfect. I did notice however that it still doesn't reproduce the exact same particle size as before the upgrade to version 4. It's somewhat smaller.
Original correct size
After version update
After version update with UIParticle auto scale mode and original transform scale
I can fix this myself by copying the value that UIParticle sets to the transform scale automatically into UIParticle.Scale and resetting the transform scale back to it's original size with Auto Scale Mode set to None or UIParticle.
Manual fix
- Transform.localScale = (25, 25, 25)
- UIParticle.Scale = 4.971429 (automatically calculated by UIParticle after version update)
- Auto Scale Mode = UIParticle
- Latest v4 version
Is this the intended behaviour?
On a side note, sometimes I get the following exception, but I'm unsure how to reproduce it:
NullReferenceException: Object reference not set to an instance of an object
Coffee.UIExtensions.UIParticleRenderer.GetWorldScale () (at Library/PackageCache/com.coffee.ui-particle@692c3e8798/Runtime/UIParticleRenderer.cs:522)
Coffee.UIExtensions.UIParticleRenderer.Set (Coffee.UIExtensions.UIParticle parent, UnityEngine.ParticleSystem ps, System.Boolean isTrail) (at Library/PackageCache/com.coffee.ui-particle@692c3e8798/Runtime/UIParticleRenderer.cs:252)
Coffee.UIExtensions.UIParticle.RefreshParticles (System.Collections.Generic.List`1[T] particles) (at Library/PackageCache/com.coffee.ui-particle@692c3e8798/Runtime/UIParticle.cs:475)
Coffee.UIExtensions.UIParticle.OnEnable () (at Library/PackageCache/com.coffee.ui-particle@692c3e8798/Runtime/UIParticle.cs:289)
Thanks!
from particleeffectforugui.
Thank you for your reporting!
from particleeffectforugui.
Please try develop-295-disable-auto-scaling
branch.
"com.coffee.ui-particle": "https://github.com/mob-sakai/ParticleEffectForUGUI.git?path=Packages/src#develop-295-disable-auto-scaling",
from particleeffectforugui.
π This issue has been resolved in version 4.6.3 π
The release is available on GitHub release
Your semantic-release bot π¦π
from particleeffectforugui.
π This issue has been resolved in version 4.6.3 π
The release is available on GitHub release
Your semantic-release bot π¦π
from particleeffectforugui.
Related Issues (20)
- ParticleUI component breaks with "Fix any compile errors" HOT 4
- "[generated]" GameObjects on the hierarchy is disturbing HOT 2
- Max particle size is limited to camera's orthographic size halved in Screen Space - Camera HOT 5
- Unintended scaling occurs when AutoScalingMode=UIParticle and ScalingMode=Local HOT 1
- Is custom simulation space broken? HOT 2
- If only Trail Material is used, it will not be displayed HOT 3
- Play on awake checkbox doesn't work HOT 2
- Some UIParticleRenderer HideFlags were set to None but some were set to HideAndDontSave HOT 2
- Particles Issue IOS HOT 2
- Can't not revert to origin position after simulate HOT 3
- If UIParticle's parents do not have Canvas, an exception is thrown in OnEnable HOT 2
- UIGeometryJob crash HOT 1
- Size of the Shape Gizmo HOT 1
- Reset previous position on start play for Simulation space World HOT 1
- Particles not going to Attractor center HOT 2
- Question: Possible to use one attractor for multiple systems? HOT 2
- Abnormal display time of particles HOT 2
- Unity2021.3.23οΌδΎεηΉζθ°ζ΄HDRοΌζ²‘ζζζ HOT 1
- Resource ID out of range in GetResource: 1048576 (max is 1048575) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from particleeffectforugui.