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 /
  • Help Room /
avatar image
0
Question by ruannom · Jan 03, 2016 at 09:23 AM · unity 5particlesparticlesystememission

Low particle emission rate

Hi guys I was making a game in older unity versions (5.1~5.2), when I upgrade it to version 5.3, my particle systems stopped to work, they doesn't emmit correctly, anyone know what can it be? I tried to activate VSync but it doesn't works too. alt text

sem-titulo.png (38.1 kB)
Comment
Add comment · Show 2
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 karl_jones ♦♦ · Jan 03, 2016 at 01:25 PM 0
Share

Can you post a screenshot of the particle settings?

avatar image ruannom karl_jones ♦♦ · Jan 04, 2016 at 12:31 AM 0
Share

alt text

1234124.jpg (239.8 kB)

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Feinoko · Jan 03, 2016 at 02:01 PM

I believe it's something to do with the new syntax since 5.3, use "emission.rate" i/o "EmissionRate".

However when i replace with this new syntax, I get a compiling error :(

Comment
Add comment · Show 4 · 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 karl_jones ♦♦ · Jan 03, 2016 at 02:22 PM 0
Share

What compiler error? Its a struct so you need to make a local reference before setting the rate or you will get an error.

avatar image ruannom · Jan 04, 2016 at 12:23 AM 0
Share

I don't set emission rate trough script, I just enable it. I try to create a particle and move it trough the scene manualy, and i had the same result.

avatar image CurtisMcGill · Jan 05, 2016 at 10:35 PM 0
Share

I am still in the process of converting my scripts as well... I created code below that you use and change to fit your needs. Let us know how it works.

     public ParticleSystem part;
     
      setpart(10);
     
      void setpart(float rate) {
           var er = part.emission.rate;
           er.constant$$anonymous$$in = rate;
           er.constant$$anonymous$$ax = rate;
       }
     
      void getpart() {
           var er = part.emission.rate;
           Debug.Log("$$anonymous$$: " + er.constant$$anonymous$$in);
           Debug.Log("max: " + er.constant$$anonymous$$ax);
       }
 
avatar image ruannom CurtisMcGill · Jan 06, 2016 at 10:58 PM 0
Share

Still bug Curtis :/

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

6 People are following this question.

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

Related Questions

particle collision events networking 0 Answers

How Play and Stop a ParticleSystem through Scripting? 9 Answers

Circle shape emitter is flipping particles on one side 1 Answer

help with particle projector 0 Answers

Emit Particles in 45 degree steps ? 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