Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Angelord · Dec 24, 2015 at 02:51 PM · particlesparticlesystem5.3

Trouble with particles after updating to 5.3

So I just updated to unity 5.3 and suddenly most of my particles either stopped working or have weird behaviour. The Stop() and Play() function in ParticleSystem works only sometimes and ParticleSystem.isPlaying along with ParticleSystem.isStopped always return the same value.

 void Update() {
     if (Input.GetKeyDown (KeyCode.E)) {    
         normalExhaust.Play ();
         Debug.Log (normalExhaust.isPlaying); // returns true
         normalExhaust.Stop();
         Debug.Log (normalExhaust.isPlaying); // returns true
     }
 }

Here's a piece of code that shows my problem. I am certain that no other script is interacting with the particle system. Every particle system in my scene only plays if I set it to Play on Awake and if i pause it after that it cannot be played again. alt text Here's a snapshot of my particle settings, in case you think the problem comes from there.

Is this a bug from the new version or have I messed something up? I tried testing the behaviour of the particles in empty scenes and with only one script attached and seem to get the same problems. Thanks in advance for the help!

snap.jpg (53.9 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Griffo · Dec 24, 2015 at 04:24 PM 0
Share

Hi @Angelord , Im getting problems to with some partial effects since updating to 5.3.1f1 yesterday :(

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by IdiotsCode · Dec 26, 2015 at 11:20 AM

here try this and put it on the particle system! I've never been able to use "par.play()"

  var Par : ParticleSystem;
     
     function Start () {
      Par = GetComponent(ParticleSystem);
     }
     
     function Update () {
     if (Input.GetKey(KeyCode.DownArrow)))
     {
     Par.emissionRate = 55; // how many particles you want!
     } else {
     Par.emissionRate = 0;
     }
     }



Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Angelord · Jan 26, 2016 at 06:05 PM 0
Share

Thanks! It's not how i'm used to working with particles but it's a workaround.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

34 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can I slow down a Particle System? - e.g. Slow Motion Effect 1 Answer

How to Slowly Fade Particle System via Script 2 Answers

Particle sorting/layering question 0 Answers

Spawned Particle System in game looks different from prefab 2 Answers

Unity Update Broke My Project: IsFinite(Some Text) 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges