• 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
Question by stefanplc · Nov 06, 2017 at 01:23 PM · unity5particlesparticle systemexplosion

Instantiated particles prefab has fewer particles

Hi there, I'm using Unity 5.6.2f1 and I have a particle system that shoots particles in a hemisphere/ring from the center point, kind of like an explosion. When I preview the particle system in the editor, it seems to shoot around 20 particles from the center as expected. If I run my game and I click and drag the prefab into the scene, the same happens which is great. IF however I instantiate that same prefab using the following code:

 GameObject BlueExplosion = Instantiate(BluePrefab, GetHitPoint, Quaternion.identity) as GameObject;

Then for some reason it looks like there are roughly 5-10 particles that shoot from the center, instead of the full amount. Any idea what could be causing this? I compared the two instantiations of the same prefab, the one that I click and drag into the scene and the one that I instantiate with the code and as far as I can tell they're identical. Same position, same particle settings and so forth. It's the same prefab, just the method used on how to spawn it is different. Any idea what I'm doing wrong?

Thanks in advance!

Comment

People who like this

0 Show 3
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 _Yash_ · Nov 06, 2017 at 01:36 PM 0
Share

can you share a screenshot of inspector showing particle system and emission tab

avatar image stefanplc _Yash_ · Nov 06, 2017 at 01:49 PM 1
Share

Well I guess you solved it lol. I increased my "Rate over Time" from under Emissions from 700 to 1500 and it now looks as it should. Thanks!

avatar image _Yash_ stefanplc · Nov 07, 2017 at 05:51 AM 0
Share

Yes, that's it.

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by mondovila · Nov 06, 2017 at 04:11 PM

Nice. I had the same issue. Thanks for asking and glad you solved your problem. :D

Comment

People who like this

0 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 stefanplc · Nov 06, 2017 at 04:33 PM 0
Share

Did you use the same solution or did something else work for you? I'm happy the solution I found worked out, but I'm wondering if that's the proper way to do it. Thanks!

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.

Update about the future of Unity Answers

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta later in June. Please note, we are aiming to set Unity Answers to read-only mode on the 31st of May in order to prepare for the final data migration.

For more information, please read our full announcement.

Follow this Question

Answers Answers and Comments

87 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 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 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

Why oh Why is ParticleSystem.duration read only? 0 Answers

ParticleSystem 'emit' error 2 Answers

Unity 2D Particle System's collider doesn't trigger other colliders for scripts. 0 Answers

How to prevent particle system from restarting when value changes from script? 1 Answer

How can I activate fog after lightning strikes? 2 Answers


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