Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When moving the transform in world simulation mode, particles don't behave as expected #37

Closed
iMobCoding opened this issue Feb 5, 2019 · 7 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@iMobCoding
Copy link

First, thanks for this great plugin :)

I found 2 issues, when using particles in World Simulation Space:

  1. If your canvas is in Screen Space Camera, moving particles around works as expected. But as soon as you increase the UI Particle Scale, world simulated particles don't behave as expected anymore
  2. If your canvas is in Screen Space Overlay, then no matter what's UI Particle Scale, particles transform don't work. Just try moving particles (in Simulation Space World) around and you'll see

All of this happens in Unity 2018.3.* - didn't test in older versions

@mob-sakai mob-sakai self-assigned this Feb 5, 2019
@mob-sakai mob-sakai added the bug Something isn't working label Feb 5, 2019
@mob-sakai
Copy link
Owner

Hi @crmagicxxx
Thank you for your reporting!

I would like to know more information on this issue.
Can you submit a reproducible project for this issue?

@iMobCoding
Copy link
Author

I am out right now, will try during the day
In the meantime, it's easy to reproduce really. Just make a simplest particle, make it world simulation space. Put inside Screen Space Overlay and try to move it around. Similar thing happens even in Screen Space Camera if you adjust the UI Particle Scale property

@mob-sakai
Copy link
Owner

Bug 1: This bug has been reproduced. UIParticle.scale = 1 on the left side and UIParticle.scale = 2 on the right side.

Bug 2: Does this bug behave the same as bug 1...?

@iMobCoding
Copy link
Author

  1. Maybe it's the same bug, but when you're in Screen Space Overlay, even if you set particle scale to 1, you can't adjust the transform of the world simulated particles without visible glitches

@mob-sakai
Copy link
Owner

I have good news for you, @crmagicxxx !
I found a way to fix bug 1! 👍

Please test whether bug 2 is reproduced using the unitypackage. ;)
fixed.unitypackage.zip

@mob-sakai mob-sakai added this to the v2.1.0 milestone Feb 6, 2019
@iMobCoding
Copy link
Author

Tested and confirming that everything works as expected - bug 1 & bug 2 fixed :)
Can you please update the package manager version to reflect this change?

Thank you very much for prompt reaction!
Best :)

@mob-sakai
Copy link
Owner

Thank you for your testing!
I'll release it later!

@mob-sakai mob-sakai changed the title Problem with particle scale, world space... When moving the transform in world simulation mode, particles don't behave as expected Feb 7, 2019
mob-sakai added a commit that referenced this issue Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants